Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IEndpoint ¶
type IEndpoint interface { Reply() IReply CustomReply(handler func(reply IReply, request *http.Request)) IEndpoint CustomVerify(handler func(request *http.Request)) IEndpoint Once() IEndpoint Never() IEndpoint Times(count int) IEndpoint SetVerbose() IEndpoint }
IEndpoint interface
type IReply ¶
type IReply interface { JSONBody(body interface{}) IReply Content(content string) IReply Code(code int) IReply Header(key, value string) IReply RawBody(body []byte) IReply StringBody(body string) IReply XMLBody(body interface{}) IReply FullHeader(header map[string]string) IReply Delay(delayTime int) IReply }
IReply interface
Click to show internal directories.
Click to hide internal directories.