fasthttp

package
v1.88.9487 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 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.88.9453

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.88.9453

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

AddHandler implements the method Adapter.AddHandler.

func (*Fasthttp) Content

func (fast *Fasthttp) Content(ctx interface{}, getPanelFn types.GetPanelFn, fn context.NodeProcessor, btns ...types.Button)

Content implements the method Adapter.Content.

func (*Fasthttp) DisableLog added in v1.88.9453

func (fast *Fasthttp) DisableLog()

func (*Fasthttp) FormParam added in v1.88.9453

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

FormParam implements the method Adapter.FormParam.

func (*Fasthttp) GetCookie added in v1.88.9453

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

GetCookie implements the method Adapter.GetCookie.

func (*Fasthttp) IsPjax added in v1.88.9453

func (fast *Fasthttp) IsPjax() bool

IsPjax implements the method Adapter.IsPjax.

func (*Fasthttp) Method added in v1.88.9453

func (fast *Fasthttp) Method() string

Method implements the method Adapter.Method.

func (*Fasthttp) Name added in v1.88.9453

func (fast *Fasthttp) Name() string

Name implements the method Adapter.Name.

func (*Fasthttp) Path added in v1.88.9453

func (fast *Fasthttp) Path() string

Path implements the method Adapter.Path.

func (*Fasthttp) Redirect added in v1.88.9453

func (fast *Fasthttp) Redirect()

Redirect implements the method Adapter.Redirect.

func (*Fasthttp) Run added in v1.88.9453

func (fast *Fasthttp) Run() error

func (*Fasthttp) SetApp added in v1.88.9453

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

SetApp implements the method Adapter.SetApp.

func (*Fasthttp) SetContentType added in v1.88.9453

func (fast *Fasthttp) SetContentType()

SetContentType implements the method Adapter.SetContentType.

func (*Fasthttp) SetContext added in v1.88.9453

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

SetContext implements the method Adapter.SetContext.

func (*Fasthttp) Static added in v1.88.9453

func (fast *Fasthttp) Static(prefix, path string)

func (*Fasthttp) Use

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

Use implements the method Adapter.Use.

func (*Fasthttp) User added in v1.88.9453

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

User implements the method Adapter.User.

func (*Fasthttp) Write added in v1.88.9453

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

Write implements the method Adapter.Write.

type HandlerFunc added in v1.88.9453

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