status-lib/status/fleet.nim

16 lines
274 B
Nim

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