Documentation
¶
Index ¶
- type WebApp
- func (a *WebApp) RenderJSONFastHttp(ctx *fasthttp.RequestCtx) error
- func (a *WebApp) UserValueInt(ctx *fasthttp.RequestCtx, key string) (val int64)
- func (a *WebApp) UserValueString(ctx *fasthttp.RequestCtx, key string) string
- func (a *WebApp) UserValueUInt(ctx *fasthttp.RequestCtx, key string) (val uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebApp ¶
type WebApp struct { Ctx context.Context // Response struct { Code int `json:"code"` Body interface{} `json:"body"` } }
func (*WebApp) RenderJSONFastHttp ¶
func (a *WebApp) RenderJSONFastHttp(ctx *fasthttp.RequestCtx) error
func (*WebApp) UserValueInt ¶
func (a *WebApp) UserValueInt(ctx *fasthttp.RequestCtx, key string) (val int64)
func (*WebApp) UserValueString ¶
func (a *WebApp) UserValueString(ctx *fasthttp.RequestCtx, key string) string
func (*WebApp) UserValueUInt ¶
func (a *WebApp) UserValueUInt(ctx *fasthttp.RequestCtx, key string) (val uint64)
Click to show internal directories.
Click to hide internal directories.