Documentation ¶
Index ¶
- Variables
- func Auth(next echo.HandlerFunc) echo.HandlerFunc
- func CloseAmqpConnection()
- func GetRabbitMqConnect() sneaker.RabbitMqConnect
- func InitCacheData()
- func InitI18n()
- func InitWorkers()
- func InitializeAmqpConfig()
- func InitializeAmqpConnection()
- func IsRabbitMqConnected() bool
- func LimitTrafficWithEmail(context echo.Context) bool
- func LimitTrafficWithIp(context echo.Context) bool
- func LoadCacheData()
- func LoadInterfaces()
- func LoadLatestKLines()
- func LoadLatestTickers()
- type ApiInterface
- type Payload
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalApiInterfaces []ApiInterface
View Source
var I18n *i18n.I18n
Functions ¶
func Auth ¶
func Auth(next echo.HandlerFunc) echo.HandlerFunc
func CloseAmqpConnection ¶
func CloseAmqpConnection()
func GetRabbitMqConnect ¶
func GetRabbitMqConnect() sneaker.RabbitMqConnect
func InitCacheData ¶
func InitCacheData()
func InitWorkers ¶
func InitWorkers()
func InitializeAmqpConfig ¶
func InitializeAmqpConfig()
func InitializeAmqpConnection ¶
func InitializeAmqpConnection()
func IsRabbitMqConnected ¶
func IsRabbitMqConnected() bool
func LimitTrafficWithEmail ¶
func LimitTrafficWithIp ¶
func LoadCacheData ¶
func LoadCacheData()
func LoadInterfaces ¶
func LoadInterfaces()
func LoadLatestKLines ¶
func LoadLatestKLines()
func LoadLatestTickers ¶
func LoadLatestTickers()
Types ¶
type ApiInterface ¶
type ApiInterface struct { Method string `yaml:"method"` Path string `yaml:"path"` Auth bool `yaml:"auth"` Sign bool `yaml:"sign"` CheckTimestamp bool `yaml:"check_timestamp"` LimitTrafficWithIp bool `yaml:"limit_traffic_with_ip"` LimitTrafficWithEmail bool `yaml:"limit_traffic_with_email"` IsRabbitMqConnected bool `yaml:"is_rabbitmq_connected"` }
type Payload ¶
func (*Payload) ReloadCurrencies ¶
func (payload *Payload) ReloadCurrencies()
func (*Payload) ReloadMarkets ¶
func (payload *Payload) ReloadMarkets()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.