Documentation ¶
Index ¶
- func NewAccountClient(conn *grpc.ClientConn) *accountClient
- func NewBlockClient(conn *grpc.ClientConn) *blockClient
- func NewChainClient(conn *grpc.ClientConn) *chainClient
- func NewEventClient(conn *grpc.ClientConn) *eventClient
- func NewHeightClient(conn *grpc.ClientConn) *heightClient
- func NewStakingClient(conn *grpc.ClientConn) *stakingClient
- func NewValidatorClient(conn *grpc.ClientConn) *validatorClient
- func NewValidatorPerformanceClient(conn *grpc.ClientConn) *validatorPerformanceClient
- type AccountClient
- type BlockClient
- type ChainClient
- type Client
- type EventClient
- type HeightClient
- type StakingClient
- type TransactionClient
- type ValidatorClient
- type ValidatorPerformanceClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccountClient ¶ added in v0.1.2
func NewAccountClient(conn *grpc.ClientConn) *accountClient
func NewBlockClient ¶
func NewBlockClient(conn *grpc.ClientConn) *blockClient
func NewChainClient ¶
func NewChainClient(conn *grpc.ClientConn) *chainClient
func NewEventClient ¶ added in v0.1.2
func NewEventClient(conn *grpc.ClientConn) *eventClient
func NewHeightClient ¶ added in v0.1.2
func NewHeightClient(conn *grpc.ClientConn) *heightClient
func NewStakingClient ¶ added in v0.1.2
func NewStakingClient(conn *grpc.ClientConn) *stakingClient
func NewValidatorClient ¶ added in v0.5.0
func NewValidatorClient(conn *grpc.ClientConn) *validatorClient
func NewValidatorPerformanceClient ¶ added in v0.1.2
func NewValidatorPerformanceClient(conn *grpc.ClientConn) *validatorPerformanceClient
Types ¶
type AccountClient ¶ added in v0.1.2
type AccountClient interface { GetIdentity(string) (*accountpb.GetIdentityResponse, error) GetByHeight(string, int64) (*accountpb.GetByHeightResponse, error) }
type BlockClient ¶
type BlockClient interface {
GetByHeight(int64) (*blockpb.GetByHeightResponse, error)
}
type ChainClient ¶
type ChainClient interface { //Queries GetHead() (*chainpb.GetHeadResponse, error) GeStatus() (*chainpb.GetStatusResponse, error) GeMetaByHeight(int64) (*chainpb.GetMetaByHeightResponse, error) }
type Client ¶
type Client struct { Chain ChainClient Account AccountClient Block BlockClient Height HeightClient Transaction TransactionClient ValidatorPerformance ValidatorPerformanceClient Staking StakingClient Event EventClient Validator ValidatorClient // contains filtered or unexported fields }
type EventClient ¶ added in v0.1.2
type EventClient interface {
GetByHeight(int64) (*eventpb.GetByHeightResponse, error)
}
type HeightClient ¶ added in v0.1.2
type HeightClient interface {
GetAll(int64) (*heightpb.GetAllResponse, error)
}
type StakingClient ¶ added in v0.1.2
type StakingClient interface {
GetByHeight(int64) (*stakingpb.GetByHeightResponse, error)
}
type TransactionClient ¶
type TransactionClient interface {
GetByHeight(int64) (*transactionpb.GetByHeightResponse, error)
}
func NewTransactionClient ¶
func NewTransactionClient(conn *grpc.ClientConn) TransactionClient
type ValidatorClient ¶ added in v0.5.0
type ValidatorClient interface {
GetByHeight(int64) (*validatorpb.GetAllByHeightResponse, error)
}
type ValidatorPerformanceClient ¶ added in v0.1.2
type ValidatorPerformanceClient interface {
GetByHeight(int64) (*validatorperformancepb.GetByHeightResponse, error)
}
Click to show internal directories.
Click to hide internal directories.