status-lib/status/fleet.nim

16 lines
274 B
Nim
Raw Permalink Normal View History

2021-09-08 18:05:39 +00:00
import ./types/[fleet]
export fleet
type
FleetModel* = ref object
config*: FleetConfig
proc newFleetModel*(fleetConfigJson: string): FleetModel =
result = FleetModel()
result.config = fleetConfigJson.toFleetConfig()
proc delete*(self: FleetModel) =
discard