Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DBTableMarketName string
)
Functions ¶
Types ¶
type BinanceDepthResponse ¶
type BinanceDepthResponse struct { Snapshot *binance.DepthResponse Response *binance.WsDepthEvent }
func (*BinanceDepthResponse) InsertIntoDatabase ¶
func (resp *BinanceDepthResponse) InsertIntoDatabase(sym string) error
type BinanceFuturesDepthResponse ¶ added in v0.1.0
type BinanceFuturesDepthResponse struct { Snapshot *futures.DepthResponse Response *futures.WsDepthEvent }
func (*BinanceFuturesDepthResponse) InsertIntoDatabase ¶ added in v0.1.0
func (resp *BinanceFuturesDepthResponse) InsertIntoDatabase(sym string) error
type Config ¶ added in v0.1.0
type Config struct { DBName string `mapstructure:"POSTGRES_DB"` DBUser string `mapstructure:"POSTGRES_USER"` DBPassword string `mapstructure:"POSTGRES_PASSWORD"` DBServer string `mapstructure:"POSTGRES_SERVER"` DBPort string `mapstructure:"POSTGRES_PORT"` Debug bool `mapstructure:"Debug"` DBTableMarketName string DBDeleteOldSnap bool }
Click to show internal directories.
Click to hide internal directories.