SetEndpoint set an endpoint typing information
(name string, getter TypeGetter)
| 30 | |
| 31 | // SetEndpoint set an endpoint typing information |
| 32 | func (c Config) SetEndpoint(name string, getter TypeGetter) { |
| 33 | c.endpointTypes[name] = getter |
| 34 | } |
| 35 | |
| 36 | // ForeachEndpointType calls cb on every endpoint type registered with the Config |
| 37 | func (c Config) ForeachEndpointType(cb func(string, TypeGetter) error) error { |
no outgoing calls