Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoContext ¶
func (EchoContext) GetHeader ¶
func (e EchoContext) GetHeader(key string) string
func (EchoContext) JSON ¶
func (e EchoContext) JSON(statusCode int, v interface{}) error
type FiberContext ¶
type FiberContext struct {
Context fiber.Ctx
}
func (FiberContext) GetHeader ¶
func (f FiberContext) GetHeader(key string) string
func (FiberContext) JSON ¶
func (f FiberContext) JSON(statusCode int, v interface{}) error
type GinContext ¶
func (GinContext) GetHeader ¶
func (g GinContext) GetHeader(key string) string
func (GinContext) JSON ¶
func (g GinContext) JSON(statusCode int, v interface{})
type MuxContext ¶
type MuxContext struct { Writer http.ResponseWriter Request *http.Request }
func (MuxContext) GetHeader ¶
func (m MuxContext) GetHeader(key string) string
func (MuxContext) JSON ¶
func (m MuxContext) JSON(statusCode int, v interface{}) error
Click to show internal directories.
Click to hide internal directories.