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
Click to show internal directories.
Click to hide internal directories.