Versions in this module Expand all Collapse all v1 v1.0.1 May 13, 2020 Changes in this version + type IEndpoint interface + CustomReply func(handler func(reply IReply, request *http.Request)) IEndpoint + CustomVerify func(handler func(request *http.Request)) IEndpoint + Never func() IEndpoint + Once func() IEndpoint + Reply func() IReply + SetVerbose func() IEndpoint + Times func(count int) IEndpoint + type IReply interface + Code func(code int) IReply + Content func(content string) IReply + Delay func(delayTime int) IReply + FullHeader func(header map[string]string) IReply + Header func(key, value string) IReply + JSONBody func(body interface{}) IReply + RawBody func(body []byte) IReply + StringBody func(body string) IReply + XMLBody func(body interface{}) IReply + type IServer interface + Endpoint func(name, method, path string) IEndpoint + Start func(port int) + Stop func(t *testing.T) + Verify func(t *testing.T) + func CreateServer(name string, defaultReply int, partialMockServerAddress string, log log.ILog) IServer