dataserver

package
v0.0.0-...-bd7d7c7 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataService

type DataService struct {
	// contains filtered or unexported fields
}

* @description: DataService Struct @attribute configFile: config ini path @attribute configParam: config section's setting @attribute preFunc: Before TimerEvent's Function @attribute timerEvent: Every Interval Minute Function

func NewDataService

func NewDataService(configFile string, configParam []string, preFunc func(*map[string]string) error, timerEvent func(*map[string]string)) *DataService

* @description: NewDataService @param configFile: config ini path @param configParam: config section's setting @param preFunc: Before TimerEvent's Function @param timerEvent: Every Interval Minute Function @return: DataService

func (*DataService) DataTrans

func (ds *DataService) DataTrans()

* @description: DataTrans Start @param : nil @return: nil

func (*DataService) ReadConfig

func (ds *DataService) ReadConfig() *map[string]string

* @description: Read Config From ConfigFile @param : nil @return: config map

Jump to

Keyboard shortcuts

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