iris

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content added in v1.3.2

func Content(handler HandlerFunc) iris.Handler

Types

type HandlerFunc added in v1.3.2

type HandlerFunc func(ctx iris.Context) (types.Panel, error)

type Iris

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

Iris structure value is an Iris GoAdmin adapter.

func (*Iris) AddHandler added in v1.3.2

func (is *Iris) AddHandler(method, path string, handlers context.Handlers)

AddHandler implements the method Adapter.AddHandler.

func (*Iris) Content

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

Content implements the method Adapter.Content.

func (*Iris) DisableLog added in v1.3.2

func (is *Iris) DisableLog()

func (*Iris) FormParam added in v1.3.2

func (is *Iris) FormParam() url.Values

FormParam implements the method Adapter.FormParam.

func (*Iris) GetCookie added in v1.3.2

func (is *Iris) GetCookie() (string, error)

GetCookie implements the method Adapter.GetCookie.

func (*Iris) IsPjax added in v1.3.2

func (is *Iris) IsPjax() bool

IsPjax implements the method Adapter.IsPjax.

func (*Iris) Method added in v1.3.2

func (is *Iris) Method() string

Method implements the method Adapter.Method.

func (*Iris) Name added in v1.3.2

func (is *Iris) Name() string

Name implements the method Adapter.Name.

func (*Iris) Path added in v1.3.2

func (is *Iris) Path() string

Path implements the method Adapter.Path.

func (*Iris) Redirect added in v1.3.2

func (is *Iris) Redirect()

Redirect implements the method Adapter.Redirect.

func (*Iris) Run added in v1.3.2

func (is *Iris) Run() error

func (*Iris) SetApp added in v1.3.2

func (is *Iris) SetApp(app interface{}) error

SetApp implements the method Adapter.SetApp.

func (*Iris) SetContentType added in v1.3.2

func (is *Iris) SetContentType()

SetContentType implements the method Adapter.SetContentType.

func (*Iris) SetContext added in v1.3.2

func (is *Iris) SetContext(contextInterface interface{}) adapter.WebFrameWork

SetContext implements the method Adapter.SetContext.

func (*Iris) Static added in v1.3.2

func (is *Iris) Static(prefix, path string)

func (*Iris) Use

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

Use implements the method Adapter.Use.

func (*Iris) User added in v1.3.2

func (is *Iris) User(ctx interface{}) (models.UserModel, bool)

User implements the method Adapter.User.

func (*Iris) Write added in v1.3.2

func (is *Iris) 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