gofiber

package
v1.2.24 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gofiber

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

Fasthttp structure value is a Fasthttp GoAdmin adapter.

func (*Gofiber) AddHandler

func (gof *Gofiber) AddHandler(method, path string, handlers context.Handlers)

AddHandler implements the method Adapter.AddHandler.

func (*Gofiber) Content

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

Content implements the method Adapter.Content.

func (*Gofiber) DisableLog

func (gof *Gofiber) DisableLog()

func (*Gofiber) FormParam

func (gof *Gofiber) FormParam() url.Values

FormParam implements the method Adapter.FormParam.

func (*Gofiber) GetCookie

func (gof *Gofiber) GetCookie() (string, error)

GetCookie implements the method Adapter.GetCookie.

func (*Gofiber) IsPjax

func (gof *Gofiber) IsPjax() bool

IsPjax implements the method Adapter.IsPjax.

func (*Gofiber) Lang

func (gof *Gofiber) Lang() string

Lang implements the method Adapter.Lang.

func (*Gofiber) Method

func (gof *Gofiber) Method() string

Method implements the method Adapter.Method.

func (*Gofiber) Name

func (gof *Gofiber) Name() string

Name implements the method Adapter.Name.

func (*Gofiber) Path

func (gof *Gofiber) Path() string

Path implements the method Adapter.Path.

func (*Gofiber) Query

func (gof *Gofiber) Query() url.Values

Query implements the method Adapter.Query.

func (*Gofiber) Redirect

func (gof *Gofiber) Redirect()

Redirect implements the method Adapter.Redirect.

func (*Gofiber) Run

func (fagof *Gofiber) Run() error

func (*Gofiber) SetApp

func (gof *Gofiber) SetApp(app interface{}) error

SetApp implements the method Adapter.SetApp.

func (*Gofiber) SetContentType

func (gof *Gofiber) SetContentType()

SetContentType implements the method Adapter.SetContentType.

func (*Gofiber) SetContext

func (gof *Gofiber) SetContext(contextInterface interface{}) adapter.WebFrameWork

SetContext implements the method Adapter.SetContext.

func (*Gofiber) Static

func (gof *Gofiber) Static(prefix, path string)

func (*Gofiber) Use

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

Use implements the method Adapter.Use.

func (*Gofiber) User

func (gof *Gofiber) User(ctx interface{}) (models.UserModel, bool)

User implements the method Adapter.User.

func (*Gofiber) Write

func (gof *Gofiber) Write(body []byte)

Write implements the method Adapter.Write.

Jump to

Keyboard shortcuts

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