Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRouterConfig ¶
func CreateRouterConfig(strategy string) interface{}
func RegisterRouterConfig ¶
func RegisterRouterConfig(strategy string, creator ConfigObjectCreator) error
Types ¶
type ConfigObjectCreator ¶
type ConfigObjectCreator func() interface{}
type RouterConfig ¶
type RouterConfig struct { StrategyValue string `json:"strategy"` SettingsValue json.RawMessage `json:"settings"` }
func (*RouterConfig) Settings ¶
func (this *RouterConfig) Settings() interface{}
func (*RouterConfig) Strategy ¶
func (this *RouterConfig) Strategy() string
Click to show internal directories.
Click to hide internal directories.