Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BTCBitfinexService = &unison.Service{ Name: "btc Bitfinex watcher", Description: "real time monitor of Bitfinex btc:usd rate.", Action: BTCBitfinexAction, Deactivated: false, Data: map[string]string{ "btc_bitfinex_usd": "? USD", }, }
BTCBitfinexService updates the bot status to the latest btc price in usd
Functions ¶
func BTCBitfinexAction ¶
BTCBitfinexAction service action
Types ¶
type BitfinexJSON ¶
type BitfinexJSON struct { // https://api.bitfinex.com/v1/pubticker/btcusd LastPrice string `json:"last_price"` }