Documentation
¶
Index ¶
- func CreateFailWriter(writeLimit int) io.WriteCloser
- func JSONRespondMust(code int, response interface{}) httpmock.Responder
- func TestConfigGetEnumsCount(config types.ServiceConfig, expectedCount int)
- func TestConfigGetFieldsCount(config types.ServiceConfig, expectedCount int)
- func TestConfigGetInvalidQueryValue(config types.ServiceConfig)
- func TestConfigSetDefaultValues(config types.ServiceConfig)
- func TestConfigSetInvalidQueryValue(config types.ServiceConfig, rawInvalidURL string)
- func TestLogger() *log.Logger
- func TestServiceSetInvalidParamValue(service types.Service, key string, value string)
- func URLMust(rawURL string) *url.URL
- type Eavesdropper
- type MockClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFailWriter ¶
func CreateFailWriter(writeLimit int) io.WriteCloser
CreateFailWriter returns a io.WriteCloser that returns an error after the amount of writes indicated by writeLimit
func JSONRespondMust ¶
func JSONRespondMust(code