go-admin: github.com/GoAdminGroup/go-admin/adapter/fasthttp Index | Files

package fasthttp

import "github.com/GoAdminGroup/go-admin/adapter/fasthttp"


Package Files


func Content Uses

func Content(handler HandlerFunc) fasthttp.RequestHandler

type Fasthttp Uses

type Fasthttp struct {
    // contains filtered or unexported fields

Fasthttp structure value is a Fasthttp GoAdmin adapter.

func (*Fasthttp) AddHandler Uses

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

AddHandler implements the method Adapter.AddHandler.

func (*Fasthttp) Content Uses

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

Content implements the method Adapter.Content.

func (*Fasthttp) DisableLog Uses

func (fast *Fasthttp) DisableLog()

func (*Fasthttp) FormParam Uses

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

FormParam implements the method Adapter.FormParam.

func (*Fasthttp) GetCookie Uses

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

GetCookie implements the method Adapter.GetCookie.

func (*Fasthttp) IsPjax Uses

func (fast *Fasthttp) IsPjax() bool

IsPjax implements the method Adapter.IsPjax.

func (*Fasthttp) Method Uses

func (fast *Fasthttp) Method() string

Method implements the method Adapter.Method.

func (*Fasthttp) Name Uses

func (fast *Fasthttp) Name() string

Name implements the method Adapter.Name.

func (*Fasthttp) Path Uses

func (fast *Fasthttp) Path() string

Path implements the method Adapter.Path.

func (*Fasthttp) Redirect Uses

func (fast *Fasthttp) Redirect()

Redirect implements the method Adapter.Redirect.

func (*Fasthttp) Run Uses

func (fast *Fasthttp) Run() error

func (*Fasthttp) SetApp Uses

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

SetApp implements the method Adapter.SetApp.

func (*Fasthttp) SetContentType Uses

func (fast *Fasthttp) SetContentType()

SetContentType implements the method Adapter.SetContentType.

func (*Fasthttp) SetContext Uses

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

SetContext implements the method Adapter.SetContext.

func (*Fasthttp) Static Uses

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

func (*Fasthttp) Use Uses

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

Use implements the method Adapter.Use.

func (*Fasthttp) User Uses

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

User implements the method Adapter.User.

func (*Fasthttp) Write Uses

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

Write implements the method Adapter.Write.

type HandlerFunc Uses

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

Package fasthttp imports 16 packages (graph) and is imported by 3 packages. Updated 2020-07-09. Refresh now. Tools for package owners.