query

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Name

func Name() string

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(ctx client.ExtServiceContext, balances *balance.Store, currencies *balance.CurrencyList, validators *identity.ValidatorStore,
	domains *ons.DomainStore, logger *log.Logger) *Service

func (*Service) Balance

func (svc *Service) Balance(req client.BalanceRequest, resp *client.BalanceReply) error

func (*Service) ListCurrencies

func (svc *Service) ListCurrencies(_ client.ListCurrenciesRequest, reply *client.ListCurrenciesReply) error

func (*Service) ListValidators

func (svc *Service) ListValidators(_ client.ListValidatorsRequest, reply *client.ListValidatorsReply) error

ListValidator returns a list of all validator

func (*Service) ONS_GetDomainByName

func (sv *Service) ONS_GetDomainByName(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsReply) error

func (*Service) ONS_GetDomainByOwner

func (sv *Service) ONS_GetDomainByOwner(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsReply) error

func (*Service) ONS_GetDomainOnSale

func (sv *Service) ONS_GetDomainOnSale(req client.ONSGetDomainsRequest, reply *client.ONSGetDomainsOnSaleReply) error

Jump to

Keyboard shortcuts

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