controller

package
v0.0.0-...-badf2f2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRoute

func InitRoute(conns *DBConns) (http.Handler, error)

InitRoute all routes

Types

type DBConns

type DBConns struct {
	Database db.Connections
}

DBConns connections to database

func InitDB

func InitDB(conf *types.Server) *DBConns

InitDB connections to database

func (*DBConns) Close

func (c *DBConns) Close()

Close all underlying connections

Jump to

Keyboard shortcuts

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