moex

package
v0.0.0-...-87b910c Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllContents

func GetAllContents(url string) []byte

GetAllContents getting json from remote server

func GetDelta

func GetDelta(lastDealTime string) string

GetDelta return string delta time

func ItsTradeTime

func ItsTradeTime() bool

ItsTradeTime reurn true if its trade time

func Send2Graphite

func Send2Graphite(delta, key, graphiteHost string, graphitePort int) bool

Send2Graphite send metric to graphite

func Send2zabbix

func Send2zabbix(idName string, state interface{}, ZabbixIP string, ZabbixPort int,
	Name string)

Send2zabbix sending metrics to Zabbix Server

func StringTime2UnixTime

func StringTime2UnixTime(gettime string) time.Time

StringTime2UnixTime - input "13:07:20", output - UnixTime

Types

This section is empty.

Jump to

Keyboard shortcuts

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