Documentation ¶
Index ¶
Constants ¶
View Source
const (
DB_NAME = "proxy.db"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandInfo ¶
type Worker ¶
type Worker interface { Close() error DelWorker(string) error AddWorker(*WorkerInfo) error ChgWorker(*WorkerInfo) error ListWorkers() ([]*WorkerInfo, error) GetWorker(string) (*WorkerInfo, error) }
type WorkerInfo ¶
type WorkerInfo struct { Mpu string `json:"mpu"` Name string `json:"name"` Agent string `json:"agent"` Commands []CommandInfo `json:"commands"` }
Click to show internal directories.
Click to hide internal directories.