Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromAtreugoCtx ¶
func FromAtreugoCtx(ctx *atreugo.RequestCtx) types.Context
ToContext Convert atreugo RequestCtx to Context
Types ¶
type AtreugoContext ¶
type AtreugoContext struct {
// contains filtered or unexported fields
}
func (*AtreugoContext) JSON ¶
func (ctx *AtreugoContext) JSON(object interface{})
func (*AtreugoContext) Request ¶
func (ctx *AtreugoContext) Request() types.Request
func (*AtreugoContext) Response ¶
func (ctx *AtreugoContext) Response() types.Response
func (*AtreugoContext) TEXT ¶
func (ctx *AtreugoContext) TEXT(content string)
type EchoContext ¶
type EchoContext struct {
// contains filtered or unexported fields
}
func (*EchoContext) JSON ¶
func (ctx *EchoContext) JSON(object interface{})
func (*EchoContext) Request ¶
func (ctx *EchoContext) Request() types.Request
func (*EchoContext) Response ¶
func (ctx *EchoContext) Response() types.Response
func (*EchoContext) TEXT ¶
func (ctx *EchoContext) TEXT(content string)
Click to show internal directories.
Click to hide internal directories.