Documentation ¶
Index ¶
- Variables
- type Config
- type Service
- func (s *Service) ListAccounts(ctx context.Context, in *apipb.ListAccountsRequest) (*apipb.ListAccountsResponse, error)
- func (s *Service) ListAssets(ctx context.Context, in *apipb.ListAssetsRequest) (*apipb.ListAssetsResponse, error)
- func (s *Service) ListDelegations(ctx context.Context, in *apipb.ListDelegationsRequest) (*apipb.ListDelegationsResponse, error)
- func (s *Service) ListMarkets(ctx context.Context, in *apipb.ListMarketsRequest) (*apipb.ListMarketsResponse, error)
- func (s *Service) ListMarketsData(ctx context.Context, in *apipb.ListMarketsDataRequest) (*apipb.ListMarketsDataResponse, error)
- func (s *Service) ListNetworkLimits(ctx context.Context, in *apipb.ListNetworkLimitsRequest) (*apipb.ListNetworkLimitsResponse, error)
- func (s *Service) ListNetworkParameters(ctx context.Context, in *apipb.ListNetworkParametersRequest) (*apipb.ListNetworkParametersResponse, error)
- func (s *Service) ListParties(ctx context.Context, in *apipb.ListPartiesRequest) (*apipb.ListPartiesResponse, error)
- func (s *Service) ListPartiesStake(ctx context.Context, in *apipb.ListPartiesStakeRequest) (*apipb.ListPartiesStakeResponse, error)
- func (s *Service) ListProposals(ctx context.Context, in *apipb.ListProposalsRequest) (*apipb.ListProposalsResponse, error)
- func (s *Service) ListValidators(ctx context.Context, in *apipb.ListValidatorsRequest) (*apipb.ListValidatorsResponse, error)
- func (s *Service) ListVotes(ctx context.Context, in *apipb.ListVotesRequest) (*apipb.ListVotesResponse, error)
- func (s *Service) UpdateBroker(broker broker.Interface)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServiceDisabled = errors.New("service disabled")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel encoding.LogLevel Accounts bool Assets bool NetworkParameters bool NetworkLimits bool Parties bool Validators bool Proposals bool Markets bool Votes bool MarketsData bool PartiesStake bool Delegations bool }
func NewDefaultConfig ¶
func NewDefaultConfig() Config
type Service ¶
type Service struct { apipb.UnimplementedCoreStateServiceServer // contains filtered or unexported fields }
func NewService ¶
func (*Service) ListAccounts ¶
func (s *Service) ListAccounts( ctx context.Context, in *apipb.ListAccountsRequest, ) (*apipb.ListAccountsResponse, error)
func (*Service) ListAssets ¶
func (s *Service) ListAssets( ctx context.Context, in *apipb.ListAssetsRequest, ) (*apipb.ListAssetsResponse, error)
func (*Service) ListDelegations ¶
func (s *Service) ListDelegations( ctx context.Context, in *apipb.ListDelegationsRequest, ) (*apipb.ListDelegationsResponse, error)
func (*Service) ListMarkets ¶
func (s *Service) ListMarkets( ctx context.Context, in *apipb.ListMarketsRequest, ) (*apipb.ListMarketsResponse, error)
func (*Service) ListMarketsData ¶
func (s *Service) ListMarketsData( ctx context.Context, in *apipb.ListMarketsDataRequest, ) (*apipb.ListMarketsDataResponse, error)
func (*Service) ListNetworkLimits ¶
func (s *Service) ListNetworkLimits( ctx context.Context, in *apipb.ListNetworkLimitsRequest, ) (*apipb.ListNetworkLimitsResponse, error)
func (*Service) ListNetworkParameters ¶
func (s *Service) ListNetworkParameters( ctx context.Context, in *apipb.ListNetworkParametersRequest, ) (*apipb.ListNetworkParametersResponse, error)
func (*Service) ListParties ¶
func (s *Service) ListParties( ctx context.Context, in *apipb.ListPartiesRequest, ) (*apipb.ListPartiesResponse, error)
func (*Service) ListPartiesStake ¶
func (s *Service) ListPartiesStake( ctx context.Context, in *apipb.ListPartiesStakeRequest, ) (*apipb.ListPartiesStakeResponse, error)
func (*Service) ListProposals ¶
func (s *Service) ListProposals( ctx context.Context, in *apipb.ListProposalsRequest, ) (*apipb.ListProposalsResponse, error)
func (*Service) ListValidators ¶
func (s *Service) ListValidators( ctx context.Context, in *apipb.ListValidatorsRequest, ) (*apipb.ListValidatorsResponse, error)
func (*Service) ListVotes ¶
func (s *Service) ListVotes( ctx context.Context, in *apipb.ListVotesRequest, ) (*apipb.ListVotesResponse, error)
func (*Service) UpdateBroker ¶
Click to show internal directories.
Click to hide internal directories.