Documentation ¶
Index ¶
Constants ¶
View Source
const ( // GET - For detected HTTP request GET method GET = "GET" // POST - For detected HTTP request POST method POST = "POST" // HEAD HEAD = "HEAD" // PUT PUT = "PUT" // PATCH PATCH = "PATCH" // DELETE DELETE = "DELETE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application
func NewApplication ¶
func NewApplication() *Application
NewApplication creates and initializes new instance of Application
type HandlerInfo ¶
Info described routes
type IGetHandler ¶
type IGetHandler interface {
Process(ctx context.Context, params params.Params) (interface{}, error)
}
IGetHandler defines handlers that process GET-like requests (return some data based on incoming parameters)
type IHttpCodeGetter ¶
type IHttpCodeGetter interface {
GetHttpCode() int
}
Click to show internal directories.
Click to hide internal directories.