config.go 252 B

1234567891011121314
  1. package testing
  2. type RouterConfig struct {
  3. StrategyValue string
  4. SettingsValue interface{}
  5. }
  6. func (this *RouterConfig) Strategy() string {
  7. return this.StrategyValue
  8. }
  9. func (this *RouterConfig) Settings() interface{} {
  10. return this.SettingsValue
  11. }