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

package iris

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

Index

Package Files

iris.go

func Content Uses

func Content(handler HandlerFunc) iris.Handler

type HandlerFunc Uses

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

type Iris Uses

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

Iris structure value is an Iris GoAdmin adapter.

func (*Iris) AddHandler Uses

func (is *Iris) AddHandler(method, path string, plug plugins.Plugin)

func (*Iris) Content Uses

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

func (*Iris) GetCookie Uses

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

func (*Iris) Method Uses

func (is *Iris) Method() string

func (*Iris) Name Uses

func (is *Iris) Name() string

func (*Iris) Path Uses

func (is *Iris) Path() string

func (*Iris) PjaxHeader Uses

func (is *Iris) PjaxHeader() string

func (*Iris) Redirect Uses

func (is *Iris) Redirect()

func (*Iris) SetApp Uses

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

func (*Iris) SetContentType Uses

func (is *Iris) SetContentType()

func (*Iris) SetContext Uses

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

func (*Iris) Use Uses

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

func (*Iris) User Uses

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

func (*Iris) Write Uses

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

Package iris imports 13 packages (graph) and is imported by 2 packages. Updated 2019-12-12. Refresh now. Tools for package owners.