Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface {
context.Context
WithValue(key string, value interface{})
Request() Request
Response() Response
Header(key, defaultValue string) string
Headers() http.Header
Method() string
Path() string
Url() string
FullUrl() string
Ip() string
//Input Retrieve an input item from the request: /users/{id}
Params(key string) string
// Query Retrieve a query string item form the request: /users?id=1
Query(key, defaultValue string) string
// Form Retrieve a form string item form the post: /users POST:id=1
Form(key, defaultValue string) string
Bind(obj interface{}) error
File(name string) (File, error)
AbortWithStatus(code int)
Next() error
}
type FormRequest ¶
type HandlerFunc ¶
type ResponseSuccess ¶
Click to show internal directories.
Click to hide internal directories.