Documentation ¶
Index ¶
- Constants
- func Register(register eosc.IExtenderDriverRegister)
- type ActuatorSet
- type Config
- type Controller
- func (c *Controller) AllWorkers() []string
- func (c *Controller) Check(cfg interface{}) (profession, name, driver, desc string, err error)
- func (c *Controller) ConfigType() reflect.Type
- func (c *Controller) Del(id string)
- func (c *Controller) Get() interface{}
- func (c *Controller) Mode() eosc.SettingMode
- func (c *Controller) Set(conf interface{}) (err error)
- func (c *Controller) Store(id string)
- type Grey
- type GreyBalanceHandler
- type GreyHandler
- type GreyNode
- func (g *GreyNode) Addr() string
- func (g *GreyNode) Down()
- func (g *GreyNode) GetAttrByName(name string) (string, bool)
- func (g *GreyNode) GetAttrs() eocontext.Attrs
- func (g *GreyNode) ID() string
- func (g *GreyNode) IP() string
- func (g *GreyNode) Leave()
- func (g *GreyNode) Port() int
- func (g *GreyNode) Status() eocontext.NodeStatus
- func (g *GreyNode) Up()
- type IController
- type Matching
- type Robin
- type Rule
- type Training
- type Weighted
Constants ¶
View Source
const Name = "strategy-grey"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActuatorSet ¶
type ActuatorSet interface { Set(string, *GreyHandler) Del(id string) }
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) AllWorkers ¶
func (c *Controller) AllWorkers() []string
func (*Controller) Check ¶
func (c *Controller) Check(cfg interface{}) (profession, name, driver, desc string, err error)
func (*Controller) ConfigType ¶
func (c *Controller) ConfigType() reflect.Type
func (*Controller) Del ¶
func (c *Controller) Del(id string)
func (*Controller) Get ¶
func (c *Controller) Get() interface{}
func (*Controller) Mode ¶
func (c *Controller) Mode() eosc.SettingMode
func (*Controller) Set ¶
func (c *Controller) Set(conf interface{}) (err error)
func (*Controller) Store ¶
func (c *Controller) Store(id string)
type Grey ¶
type Grey struct {
// contains filtered or unexported fields
}
func (*Grey) CheckSkill ¶
type GreyBalanceHandler ¶
type GreyBalanceHandler struct {
// contains filtered or unexported fields
}
type GreyHandler ¶
type GreyHandler struct {
// contains filtered or unexported fields
}
func NewGreyHandler ¶
func NewGreyHandler(conf *Config) (*GreyHandler, error)
type GreyNode ¶
type GreyNode struct {
// contains filtered or unexported fields
}
func (*GreyNode) Status ¶
func (g *GreyNode) Status() eocontext.NodeStatus
type IController ¶
type Rule ¶
Click to show internal directories.
Click to hide internal directories.