Documentation ¶
Index ¶
- type Context
- func (c *Context) Context() context.Context
- func (c *Context) File(httpCode int, data []byte, fileName string) error
- func (c *Context) GetFormFile(size int) ([]byte, string, int, error)
- func (c *Context) GetQuery(key string) string
- func (c *Context) GetReqId() string
- func (c *Context) JSON(httpCode int, value interface{}) error
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
func NewHTTPServer ¶
func NewHTTPServer(port int, httpController controller.HTTPController) Server
Click to show internal directories.
Click to hide internal directories.