web

package
v0.0.0-...-c5eec25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL