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: 8 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) CreateDB

func (con *Controller) CreateDB() error

func (*Controller) CreateTable

func (con *Controller) CreateTable() error

func (*Controller) DeleteById

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

func (*Controller) InfoById

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

func (*Controller) Insert

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

func (*Controller) LisitValidBannerByUnixDate

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

Jump to

Keyboard shortcuts

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