Documentation ¶
Index ¶
- type IProfession
- type IProfessions
- type ITypedProfessionDrivers
- type Profession
- type Professions
- func (ps *Professions) Delete(name string) error
- func (ps *Professions) Get(name string) (*Profession, bool)
- func (ps *Professions) List() []*Profession
- func (ps *Professions) Reset(configs []*eosc.ProfessionConfig)
- func (ps *Professions) Set(name string, c *eosc.ProfessionConfig) error
- func (ps *Professions) Sort() []*Profession
- type TypedProfessionDrivers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IProfession ¶
type IProfession interface {
GetDriver(name string) (eosc.IExtenderDriver, bool)
}
type IProfessions ¶
type IProfessions interface { //eosc.IProfessions Get(name string) (*Profession, bool) Sort() []*Profession List() []*Profession Delete(name string) error Set(name string, profession *eosc.ProfessionConfig) error Reset(configs []*eosc.ProfessionConfig) }
func NewProfessions ¶
func NewProfessions(extends eosc.IExtenderDrivers) IProfessions
type ITypedProfessionDrivers ¶
type ITypedProfessionDrivers interface {
Get(name string) (eosc.IExtenderDriver, bool)
}
type Profession ¶
type Profession struct { *eosc.ProfessionConfig // contains filtered or unexported fields }
func NewProfession ¶
func NewProfession(professionConfig *eosc.ProfessionConfig, extends eosc.IExtenderDrivers) *Profession
func (*Profession) DriverConfig ¶
func (p *Profession) DriverConfig(name string) (*eosc.DriverConfig, bool)
func (*Profession) GetDriver ¶
func (p *Profession) GetDriver(name string) (eosc.IExtenderDriver, bool)
type Professions ¶
type Professions struct {
// contains filtered or unexported fields
}
func (*Professions) Delete ¶
func (ps *Professions) Delete(name string) error
func (*Professions) Get ¶
func (ps *Professions) Get(name string) (*Profession, bool)
func (*Professions) List ¶
func (ps *Professions) List() []*Profession
func (*Professions) Reset ¶
func (ps *Professions) Reset(configs []*eosc.ProfessionConfig)
func (*Professions) Set ¶
func (ps *Professions) Set(name string, c *eosc.ProfessionConfig) error
func (*Professions) Sort ¶
func (ps *Professions) Sort() []*Profession
type TypedProfessionDrivers ¶
type TypedProfessionDrivers struct {
// contains filtered or unexported fields
}
func NewProfessionDrivers ¶
func NewProfessionDrivers() *TypedProfessionDrivers
func (*TypedProfessionDrivers) Get ¶
func (t *TypedProfessionDrivers) Get(name string) (eosc.IExtenderDriver, bool)
Click to show internal directories.
Click to hide internal directories.