Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerState ¶
type ServerState struct { Conf *config.ServerConfig CWD string // Current working directory NumCPU int // Number of CPU usable at runtime DB *db.Database Job *job.Job Parser *kong.Kong Operator *operator.Operator // Current operator AgentMode *AgentMode Continue bool // Is console continue or not }
func NewServerState ¶
func NewServerState(conf *config.ServerConfig, db *db.Database, job *job.Job) (*ServerState, error)
Click to show internal directories.
Click to hide internal directories.