controller

package
v0.0.0-...-ebc8d01 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func New

func New(db *sql.DB, c *config.Config) *Controller

func (*Controller) ChangeCategoryName

func (con *Controller) ChangeCategoryName(c *server.Context) error

func (*Controller) ChangeCategoryStatus

func (con *Controller) ChangeCategoryStatus(c *server.Context) error

func (*Controller) CreateDB

func (con *Controller) CreateDB() error

func (*Controller) CreateTable

func (con *Controller) CreateTable() error

func (*Controller) Insert

func (con *Controller) Insert(c *server.Context) error

func (*Controller) LisitChirldrenByParentId

func (con *Controller) LisitChirldrenByParentId(c *server.Context) error

Jump to

Keyboard shortcuts

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