Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockchainBalance ¶
BlockchainBalance data
type BlockchainState ¶
type BlockchainState struct { BlockCount string `json:"block_count"` LastBlockDigest string `json:"last_block_digest"` LastBlockMerkleRoot string `json:"last_block_merkle_root"` TransactionCount string `json:"transaction_count"` NodeCount string `json:"node_count"` NonEmptyWalletCount string `json:"non_empty_wallet_count"` BlockchainState string `json:"blockchain_state"` VotingNodes string `json:"voting_nodes"` Balance BlockchainBalance `json:"balance"` }
BlockchainState data
type DailyCoinPrice ¶
type DailyCoinPrice struct { MNTPUSD float64 `json:"mntp_usd"` GOLDUSD float64 `json:"gold_usd"` MNTPBTC float64 `json:"mntp_btc"` GOLDBTC float64 `json:"gold_btc"` }
DailyCoinPrice data
type GetDailyStatsResItem ¶
type GetDailyStatsResItem struct { Timestamp uint64 `json:"timestamp"` Transactions uint64 `json:"transactions"` FeeMNT *amount.Amount `json:"fee_mnt"` FeeGOLD *amount.Amount `json:"fee_gold"` VolumeMNT *amount.Amount `json:"volume_mnt"` VolumeGOLD *amount.Amount `json:"volume_gold"` TotalStake *amount.Amount `json:"total_stake"` CoinPrice DailyCoinPrice `json:"coin_price"` }
GetDailyStatsResItem data
type GetNodesResItem ¶
GetNodesResItem data
type GetRes ¶
type GetRes struct {
BlockchainState BlockchainState `json:"blockchain_state"`
}
GetRes data
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is a status service
func (*Service) DailyStats ¶
func (s *Service) DailyStats(w http.ResponseWriter, r *http.Request)
DailyStats ...
Click to show internal directories.
Click to hide internal directories.