Documentation ¶
Index ¶
- Constants
- Variables
- func InitClient(url string) client.Request
- func InitConfig(confPath string)
- func InitEngine(ginMode string) *gin.Engine
- func InitJSONClient(baseUrl string) client.Request
- func InitMQ(url string)
- func ParseArgs(defaultPort, defaultConfigPath string) (string, string)
- type Client
- type ConsumerDatabase
Constants ¶
View Source
const ( // End consumer of published transactions. Not consumed on blockatlas TxNotifications mq.Queue = "txNotifications" // Address:coin subscriptions Subscriptions mq.Queue = "subscriptions" SubscriptionsTokens mq.Queue = "subscriptions_tokens" // Transactions to process, if match subscriptions, pushed to TxNotifications RawTransactions mq.Queue = "rawTransactions" RawTokens mq.Queue = "rawTokens" RawTransactionsExchange mq.Exchange = "raw_transactions" )
Variables ¶
View Source
var ( Build = "dev" Date = time.Now().String() )
Functions ¶
func InitClient ¶ added in v1.1.15
func InitConfig ¶
func InitConfig(confPath string)
func InitEngine ¶
func InitJSONClient ¶ added in v1.1.15
Types ¶
Click to show internal directories.
Click to hide internal directories.