toserver

package
v1.0.3-release Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ToServerConnList map[string]map[string]driver.ConnFun
View Source
var ToServerMap map[string]*ToServer

Functions

func DelToServerInfo

func DelToServerInfo(key string) bool

func GetToServerMap

func GetToServerMap() map[string]*ToServer

func Recovery

func Recovery(data *json.RawMessage)

func SaveToServerData

func SaveToServerData() interface{}

func SetToServerInfo

func SetToServerInfo(key string, Type string, ConnUri string, Notes string)

func Start

func Start(key string) driver.ConnFun

Types

type ToServer

type ToServer struct {
	sync.Mutex
	Type         string
	ConnUri      string
	Notes        string
	LastID       int
	CurrentConn  int
	DataTypeList []string
	TypeAndRule  driver.TypeAndRule
}

func GetToServerInfo

func GetToServerInfo(key string) *ToServer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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