ctrl

package
v0.0.0-...-b615adf Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArcCtrl

type ArcCtrl struct {
	BaseCtrl
}

func (*ArcCtrl) Do

func (ct *ArcCtrl) Do(c *gin.Context)

type BaseCtrl

type BaseCtrl struct {
	// contains filtered or unexported fields
}

type CatCtrl

type CatCtrl struct {
	BaseCtrl
}

func (*CatCtrl) Do

func (ct *CatCtrl) Do(c *gin.Context)

type CtrlServer

type CtrlServer struct {
	ArcC *ArcCtrl
	CatC *CatCtrl
	PagC *PagCtrl
	TweC *TweCtrl
	ErrC *ErrCtrl
	IndC *IndCtrl
	// contains filtered or unexported fields
}

func NewCtrl

func NewCtrl() *CtrlServer

func (*CtrlServer) SetCache

func (c *CtrlServer) SetCache(cache *cache.Cache)

func (*CtrlServer) SetConfig

func (c *CtrlServer) SetConfig(conf *config.ConfigData)

func (*CtrlServer) SetModel

func (c *CtrlServer) SetModel(model *model.Model)

func (*CtrlServer) SetViewRender

func (c *CtrlServer) SetViewRender(vr *view.ViewRender)

type ErrCtrl

type ErrCtrl struct {
	BaseCtrl
}

func (*ErrCtrl) Do404

func (ct *ErrCtrl) Do404(c *gin.Context)

func (*ErrCtrl) Do500

func (ct *ErrCtrl) Do500(c *gin.Context)

type IndCtrl

type IndCtrl struct {
	BaseCtrl
}

func (*IndCtrl) Do

func (ct *IndCtrl) Do(c *gin.Context)

type PagCtrl

type PagCtrl struct {
	BaseCtrl
}

func (*PagCtrl) Do

func (ct *PagCtrl) Do(c *gin.Context)

type TweCtrl

type TweCtrl struct {
	BaseCtrl
}

func (*TweCtrl) Do

func (ct *TweCtrl) Do(c *gin.Context)

Jump to

Keyboard shortcuts

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