connectiondb

package
v0.0.0-...-0e427a0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInfoServer

func CreateInfoServer(domain string, infoServer infoserver.InfoServer, db *sql.DB) bool

CreateInfoServer create infoServer into the infoservers table

func DBConnect

func DBConnect() *sql.DB

DBConnect create a connection db

func GetInfoServer

func GetInfoServer(domain string, db *sql.DB) infoserver.InfoServer

GetInfoServer select and get InfoServer

func UpdateInfoServer

func UpdateInfoServer(domain string, infoServer infoserver.InfoServer, db *sql.DB) bool

UpdateInfoServer update infoServer into the infoservers table

Types

This section is empty.

Jump to

Keyboard shortcuts

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