Documentation ¶
Index ¶
- type IWorkers
- type WorkerDatas
- type Workers
- func (wm *Workers) Check(id, profession, name, driverName string, body []byte) error
- func (wm *Workers) Del(id string) error
- func (wm *Workers) Get(id string) (eosc.IWorker, bool)
- func (wm *Workers) RequiredCount(id string) int
- func (wm *Workers) Reset(wdl []*eosc.WorkerConfig) error
- func (wm *Workers) Set(id, profession, name, driverName string, body []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
func (*Workers) RequiredCount ¶
Click to show internal directories.
Click to hide internal directories.