Versions in this module Expand all Collapse all v1 v1.3.0 Jan 28, 2021 v1.2.0 Dec 16, 2020 Changes in this version + var HttpRequestTimeout = 3 * time.Second + type BlockchainInfo struct + BestBlockHash string + Blocks int32 + Chain string + ChainWork string + Difficulty float64 + Headers int32 + InitialBlockDownload bool + MedianTime int32 + Pruned bool + SizeOnDisk int32 + SoftForks map[string]Fork + VerificationProgress float32 + Warnings string + type Fork struct + Active bool + Height int32 + Type string + type Mode string + const External + const Light + const Native + type RpcClient struct + func NewRpcClient(config config.RpcConfig) *RpcClient + func (t *RpcClient) Close() error + func (t *RpcClient) GetBlockchainInfo(ctx context.Context) (*jsonrpc.RPCResponse, error) + type Service struct + func New(name string, services map[string]core.Service, containerName string, ...) *Service + func (t *Service) Close() error + func (t *Service) GetStatus(ctx context.Context) string