query

package
v0.23.0-rc12 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Providers() (Providers, error)
	Provider(sdk.AccAddress) (*Provider, error)
}

Client interface

func NewClient

func NewClient(ctx sdkclient.Context, key string) Client

NewClient creates a client instance with provided context and key

type Provider

type Provider types.Provider

Provider type

func (*Provider) Address

func (p *Provider) Address() sdk.AccAddress

Address implements provider and returns owner of provider

func (Provider) String

func (p Provider) String() string

type Providers

type Providers []Provider

Providers - Slice of Provider Struct

func (Providers) String

func (obj Providers) String() string

type RawClient

type RawClient interface {
	Providers() ([]byte, error)
	Provider(sdk.AccAddress) ([]byte, error)
}

RawClient interface

func NewRawClient

func NewRawClient(ctx sdkclient.Context, key string) RawClient

NewRawClient creates a client instance with provided context and key

Jump to

Keyboard shortcuts

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