iris

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: Apache-2.0 Imports: 14 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Content added in v1.1.2

func Content(handler HandlerFunc) iris.Handler

Types

type HandlerFunc added in v1.1.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.0.9

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

func (*Iris) Content

func (is *Iris) Content(ctx interface{}, getPanelFn types.GetPanelFn)

func (*Iris) FormParam added in v1.2.0

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

func (*Iris) GetCookie added in v1.0.9

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

func (*Iris) Method added in v1.0.9

func (is *Iris) Method() string

func (*Iris) Name added in v1.0.9

func (is *Iris) Name() string

func (*Iris) Path added in v1.0.9

func (is *Iris) Path() string

func (*Iris) PjaxHeader added in v1.0.9

func (is *Iris) PjaxHeader() string

func (*Iris) Redirect added in v1.0.9

func (is *Iris) Redirect()

func (*Iris) SetApp added in v1.0.9

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

func (*Iris) SetContentType added in v1.0.9

func (is *Iris) SetContentType()

func (*Iris) SetContext added in v1.0.9

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

func (*Iris) Use

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

func (*Iris) User added in v1.1.2

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

func (*Iris) Write added in v1.0.9

func (is *Iris) Write(body []byte)

Jump to

Keyboard shortcuts

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