Documentation ¶
Index ¶
- type ConfigCache
- type IWorkers
- type WorkerDatas
- type Workers
- func (wm *Workers) Del(id string) error
- func (wm *Workers) Get(id string) (eosc.IWorker, bool)
- func (wm *Workers) Reset(wdl []*eosc.WorkerConfig, variable eosc.IVariable) error
- func (wm *Workers) Set(id, profession, name, driverName string, body []byte, variable eosc.IVariable) error
- func (wm *Workers) Update(id string, variable eosc.IVariable) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigCache ¶
type ConfigCache struct {
// contains filtered or unexported fields
}
type WorkerDatas ¶
type WorkerDatas struct {
// contains filtered or unexported fields
}
func NewTypedWorkers ¶
func NewTypedWorkers() *WorkerDatas
func (*WorkerDatas) All ¶
func (wd *WorkerDatas) All() []eosc.IWorker
type Workers ¶
type Workers struct {
// contains filtered or unexported fields
}
func NewWorkerManager ¶
func NewWorkerManager(profession professions.IProfessions) *Workers
Click to show internal directories.
Click to hide internal directories.