Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Command, Token string Data interface{} }
Request is a request object from the main server
type Response ¶
type Response struct { Status, Error string Data interface{} }
Response that will be sent to the mail server
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router contains handlers to handle requests
func (*Router) GetHandler ¶
GetHandler returns module handler
func (*Router) HandleRequest ¶
HandleRequest handles request
func (*Router) RegisterHandler ¶
RegisterHandler register module handler
Click to show internal directories.
Click to hide internal directories.