rpcquery

package
v0.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2018 License: Apache-2.0 Imports: 19 Imported by: 7 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package rpcquery is a generated protocol buffer package.

It is generated from these files:

rpcquery.proto

It has these top-level messages:

StatusParam
GetAccountParam
ListAccountsParam
GetNameParam
ListNamesParam
GetValidatorSetParam
ValidatorSet
ValidatorSetDeltas

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRpcquery = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRpcquery   = fmt.Errorf("proto: integer overflow")
)

Functions

func NewQueryServer

func NewQueryServer(state state.IterableReader, nameReg names.IterableReader, blockchain bcm.BlockchainInfo,
	nodeView *tendermint.NodeView, logger *logging.Logger) *queryServer

func RegisterQueryServer

func RegisterQueryServer(s *grpc.Server, srv QueryServer)

Types

type GetAccountParam

type GetAccountParam struct {
	Address github_com_hyperledger_burrow_crypto.Address `protobuf:"bytes,1,opt,name=Address,proto3,customtype=github.com/hyperledger/burrow/crypto.Address" json:"Address"`
}

func (*GetAccountParam) Descriptor

func (*GetAccountParam) Descriptor() ([]byte, []int)

func (*GetAccountParam) Marshal

func (m *GetAccountParam) Marshal() (dAtA []byte, err error)

func (*GetAccountParam) MarshalTo

func (m *GetAccountParam) MarshalTo(dAtA []byte) (int, error)

func (*GetAccountParam) ProtoMessage

func (*GetAccountParam) ProtoMessage()

func (*GetAccountParam) Reset

func (m *GetAccountParam) Reset()

func (*GetAccountParam) Size

func (m *GetAccountParam) Size() (n int)

func (*GetAccountParam) String

func (m *GetAccountParam) String() string

func (*GetAccountParam) Unmarshal

func (m *GetAccountParam) Unmarshal(dAtA []byte) error

func (*GetAccountParam) XXX_MessageName

func (*GetAccountParam) XXX_MessageName() string

type GetNameParam

type GetNameParam struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
}

func (*GetNameParam) Descriptor

func (*GetNameParam) Descriptor() ([]byte, []int)

func (*GetNameParam) GetName

func (m *GetNameParam) GetName() string

func (*GetNameParam) Marshal

func (m *GetNameParam) Marshal() (dAtA []byte, err error)

func (*GetNameParam) MarshalTo

func (m *GetNameParam) MarshalTo(dAtA []byte) (int, error)

func (*GetNameParam) ProtoMessage

func (*GetNameParam) ProtoMessage()

func (*GetNameParam) Reset

func (m *GetNameParam) Reset()

func (*GetNameParam) Size

func (m *GetNameParam) Size() (n int)

func (*GetNameParam) String

func (m *GetNameParam) String() string

func (*GetNameParam) Unmarshal

func (m *GetNameParam) Unmarshal(dAtA []byte) error

func (*GetNameParam) XXX_MessageName

func (*GetNameParam) XXX_MessageName() string

type GetValidatorSetParam

type GetValidatorSetParam struct {
	IncludeHistory bool `protobuf:"varint,1,opt,name=IncludeHistory,proto3" json:"IncludeHistory,omitempty"`
}

func (*GetValidatorSetParam) Descriptor

func (*GetValidatorSetParam) Descriptor() ([]byte, []int)

func (*GetValidatorSetParam) GetIncludeHistory

func (m *GetValidatorSetParam) GetIncludeHistory() bool

func (*GetValidatorSetParam) Marshal

func (m *GetValidatorSetParam) Marshal() (dAtA []byte, err error)

func (*GetValidatorSetParam) MarshalTo

func (m *GetValidatorSetParam) MarshalTo(dAtA []byte) (int, error)

func (*GetValidatorSetParam) ProtoMessage

func (*GetValidatorSetParam) ProtoMessage()

func (*GetValidatorSetParam) Reset

func (m *GetValidatorSetParam) Reset()

func (*GetValidatorSetParam) Size

func (m *GetValidatorSetParam) Size() (n int)

func (*GetValidatorSetParam) String

func (m *GetValidatorSetParam) String() string

func (*GetValidatorSetParam) Unmarshal

func (m *GetValidatorSetParam) Unmarshal(dAtA []byte) error

func (*GetValidatorSetParam) XXX_MessageName

func (*GetValidatorSetParam) XXX_MessageName() string

type ListAccountsParam

type ListAccountsParam struct {
	Query string `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"`
}

func (*ListAccountsParam) Descriptor

func (*ListAccountsParam) Descriptor() ([]byte, []int)

func (*ListAccountsParam) GetQuery

func (m *ListAccountsParam) GetQuery() string

func (*ListAccountsParam) Marshal

func (m *ListAccountsParam) Marshal() (dAtA []byte, err error)

func (*ListAccountsParam) MarshalTo

func (m *ListAccountsParam) MarshalTo(dAtA []byte) (int, error)

func (*ListAccountsParam) ProtoMessage

func (*ListAccountsParam) ProtoMessage()

func (*ListAccountsParam) Reset

func (m *ListAccountsParam) Reset()

func (*ListAccountsParam) Size

func (m *ListAccountsParam) Size() (n int)

func (*ListAccountsParam) String

func (m *ListAccountsParam) String() string

func (*ListAccountsParam) Unmarshal

func (m *ListAccountsParam) Unmarshal(dAtA []byte) error

func (*ListAccountsParam) XXX_MessageName

func (*ListAccountsParam) XXX_MessageName() string

type ListNamesParam

type ListNamesParam struct {
	Query string `protobuf:"bytes,1,opt,name=Query,proto3" json:"Query,omitempty"`
}

func (*ListNamesParam) Descriptor

func (*ListNamesParam) Descriptor() ([]byte, []int)

func (*ListNamesParam) GetQuery

func (m *ListNamesParam) GetQuery() string

func (*ListNamesParam) Marshal

func (m *ListNamesParam) Marshal() (dAtA []byte, err error)

func (*ListNamesParam) MarshalTo

func (m *ListNamesParam) MarshalTo(dAtA []byte) (int, error)

func (*ListNamesParam) ProtoMessage

func (*ListNamesParam) ProtoMessage()

func (*ListNamesParam) Reset

func (m *ListNamesParam) Reset()

func (*ListNamesParam) Size

func (m *ListNamesParam) Size() (n int)

func (*ListNamesParam) String

func (m *ListNamesParam) String() string

func (*ListNamesParam) Unmarshal

func (m *ListNamesParam) Unmarshal(dAtA []byte) error

func (*ListNamesParam) XXX_MessageName

func (*ListNamesParam) XXX_MessageName() string

type QueryClient

type QueryClient interface {
	Status(ctx context.Context, in *StatusParam, opts ...grpc.CallOption) (*rpc.ResultStatus, error)
	GetAccount(ctx context.Context, in *GetAccountParam, opts ...grpc.CallOption) (*acm.ConcreteAccount, error)
	ListAccounts(ctx context.Context, in *ListAccountsParam, opts ...grpc.CallOption) (Query_ListAccountsClient, error)
	GetName(ctx context.Context, in *GetNameParam, opts ...grpc.CallOption) (*names.Entry, error)
	ListNames(ctx context.Context, in *ListNamesParam, opts ...grpc.CallOption) (Query_ListNamesClient, error)
	GetValidatorSet(ctx context.Context, in *GetValidatorSetParam, opts ...grpc.CallOption) (*ValidatorSet, error)
}

func NewQueryClient

func NewQueryClient(cc *grpc.ClientConn) QueryClient

type Query_ListAccountsClient

type Query_ListAccountsClient interface {
	Recv() (*acm.ConcreteAccount, error)
	grpc.ClientStream
}

type Query_ListAccountsServer

type Query_ListAccountsServer interface {
	Send(*acm.ConcreteAccount) error
	grpc.ServerStream
}

type Query_ListNamesClient

type Query_ListNamesClient interface {
	Recv() (*names.Entry, error)
	grpc.ClientStream
}

type Query_ListNamesServer

type Query_ListNamesServer interface {
	Send(*names.Entry) error
	grpc.ServerStream
}

type StatusParam

type StatusParam struct {
	BlockTimeWithin     string `protobuf:"bytes,1,opt,name=BlockTimeWithin,proto3" json:"BlockTimeWithin,omitempty"`
	BlockSeenTimeWithin string `protobuf:"bytes,2,opt,name=BlockSeenTimeWithin,proto3" json:"BlockSeenTimeWithin,omitempty"`
}

func (*StatusParam) Descriptor

func (*StatusParam) Descriptor() ([]byte, []int)

func (*StatusParam) GetBlockSeenTimeWithin added in v0.20.1

func (m *StatusParam) GetBlockSeenTimeWithin() string

func (*StatusParam) GetBlockTimeWithin added in v0.20.1

func (m *StatusParam) GetBlockTimeWithin() string

func (*StatusParam) Marshal

func (m *StatusParam) Marshal() (dAtA []byte, err error)

func (*StatusParam) MarshalTo

func (m *StatusParam) MarshalTo(dAtA []byte) (int, error)

func (*StatusParam) ProtoMessage

func (*StatusParam) ProtoMessage()

func (*StatusParam) Reset

func (m *StatusParam) Reset()

func (*StatusParam) Size

func (m *StatusParam) Size() (n int)

func (*StatusParam) String

func (m *StatusParam) String() string

func (*StatusParam) Unmarshal

func (m *StatusParam) Unmarshal(dAtA []byte) error

func (*StatusParam) XXX_MessageName

func (*StatusParam) XXX_MessageName() string

type ValidatorSet

type ValidatorSet struct {
	Height  uint64                 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Set     []*validator.Validator `protobuf:"bytes,2,rep,name=Set" json:"Set,omitempty"`
	History []*ValidatorSetDeltas  `protobuf:"bytes,3,rep,name=History" json:"History,omitempty"`
}

func (*ValidatorSet) Descriptor

func (*ValidatorSet) Descriptor() ([]byte, []int)

func (*ValidatorSet) GetHeight

func (m *ValidatorSet) GetHeight() uint64

func (*ValidatorSet) GetHistory

func (m *ValidatorSet) GetHistory() []*ValidatorSetDeltas

func (*ValidatorSet) GetSet

func (m *ValidatorSet) GetSet() []*validator.Validator

func (*ValidatorSet) Marshal

func (m *ValidatorSet) Marshal() (dAtA []byte, err error)

func (*ValidatorSet) MarshalTo

func (m *ValidatorSet) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorSet) ProtoMessage

func (*ValidatorSet) ProtoMessage()

func (*ValidatorSet) Reset

func (m *ValidatorSet) Reset()

func (*ValidatorSet) Size

func (m *ValidatorSet) Size() (n int)

func (*ValidatorSet) String

func (m *ValidatorSet) String() string

func (*ValidatorSet) Unmarshal

func (m *ValidatorSet) Unmarshal(dAtA []byte) error

func (*ValidatorSet) XXX_MessageName

func (*ValidatorSet) XXX_MessageName() string

type ValidatorSetDeltas

type ValidatorSetDeltas struct {
	Validators []*validator.Validator `protobuf:"bytes,2,rep,name=Validators" json:"Validators,omitempty"`
}

func (*ValidatorSetDeltas) Descriptor

func (*ValidatorSetDeltas) Descriptor() ([]byte, []int)

func (*ValidatorSetDeltas) GetValidators

func (m *ValidatorSetDeltas) GetValidators() []*validator.Validator

func (*ValidatorSetDeltas) Marshal

func (m *ValidatorSetDeltas) Marshal() (dAtA []byte, err error)

func (*ValidatorSetDeltas) MarshalTo

func (m *ValidatorSetDeltas) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorSetDeltas) ProtoMessage

func (*ValidatorSetDeltas) ProtoMessage()

func (*ValidatorSetDeltas) Reset

func (m *ValidatorSetDeltas) Reset()

func (*ValidatorSetDeltas) Size

func (m *ValidatorSetDeltas) Size() (n int)

func (*ValidatorSetDeltas) String

func (m *ValidatorSetDeltas) String() string

func (*ValidatorSetDeltas) Unmarshal

func (m *ValidatorSetDeltas) Unmarshal(dAtA []byte) error

func (*ValidatorSetDeltas) XXX_MessageName

func (*ValidatorSetDeltas) XXX_MessageName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL