fasthttp

package
v1.2.13 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content added in v1.2.12

func Content(handler HandlerFunc) fasthttp.RequestHandler

Types

type Fasthttp

type Fasthttp struct {
	adapter.BaseAdapter
	// contains filtered or unexported fields
}

Fasthttp structure value is a Fasthttp GoAdmin adapter.

func (*Fasthttp) AddHandler added in v1.2.12

func (fast *Fasthttp) AddHandler(method, path string, handlers context.Handlers)

func (*Fasthttp) Content

func (fast *Fasthttp) Content(ctx interface{}, getPanelFn types.GetPanelFn)

func (*Fasthttp) FormParam added in v1.2.12

func (fast *Fasthttp) FormParam() url.Values

func (*Fasthttp) GetCookie added in v1.2.12

func (fast *Fasthttp) GetCookie() (string, error)

func (*Fasthttp) Method added in v1.2.12

func (fast *Fasthttp) Method() string

func (*Fasthttp) Name added in v1.2.12

func (fast *Fasthttp) Name() string

func (*Fasthttp) Path added in v1.2.12

func (fast *Fasthttp) Path() string

func (*Fasthttp) PjaxHeader added in v1.2.12

func (fast *Fasthttp) PjaxHeader() string

func (*Fasthttp) Redirect added in v1.2.12

func (fast *Fasthttp) Redirect()

func (*Fasthttp) SetApp added in v1.2.12

func (fast *Fasthttp) SetApp(app interface{}) error

func (*Fasthttp) SetContentType added in v1.2.12

func (fast *Fasthttp) SetContentType()

func (*Fasthttp) SetContext added in v1.2.12

func (fast *Fasthttp) SetContext(contextInterface interface{}) adapter.WebFrameWork

func (*Fasthttp) Use

func (fast *Fasthttp) Use(router interface{}, plugs []plugins.Plugin) error

func (*Fasthttp) User added in v1.2.12

func (fast *Fasthttp) User(ci interface{}) (models.UserModel, bool)

func (*Fasthttp) Write added in v1.2.12

func (fast *Fasthttp) Write(body []byte)

type HandlerFunc added in v1.2.12

type HandlerFunc func(ctx *fasthttp.RequestCtx) (types.Panel, error)

Jump to

Keyboard shortcuts

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