controllers

package
v0.0.0-...-cb81fb7 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2020 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 DBData

type DBData struct {
	DBType, User, Password, Host, DBName string
	Session                              *sql.DB
}

func (DBData) CloseDB

func (db DBData) CloseDB() string

func (*DBData) Delete

func (db *DBData) Delete(writer http.ResponseWriter, req *http.Request)

func (*DBData) Delete_t

func (db *DBData) Delete_t(writer http.ResponseWriter, req *http.Request)

func (*DBData) Fetch

func (db *DBData) Fetch(w http.ResponseWriter, req *http.Request)

func (*DBData) Fetch_t

func (db *DBData) Fetch_t(w http.ResponseWriter, req *http.Request)

func (DBData) OpenDB

func (db DBData) OpenDB() (*sql.DB, error)

func (*DBData) Update

func (db *DBData) Update(w http.ResponseWriter, req *http.Request)

func (*DBData) Update_t

func (db *DBData) Update_t(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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