Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IEndpoint ¶
type IEndpoint interface { RequestHandler(handler func(string, string, string)) IEndpoint Reply(handler func(IReply)) IEndpoint }
IEndpoint interface
type IReply ¶
type IReply interface { Body(body interface{}, logger log.ILog) IReply Content(content string) IReply Code(code int) IReply Header(key, value string) IReply BodyString(body string) IReply Delay(delayTime int) IReply }
IReply interface
Click to show internal directories.
Click to hide internal directories.