Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrClientNotFound is a new error with message "Client not found" ErrClientNotFound = errors.New("Client not found") // ErrBroadcastTx is used when a broadcast fails due to tendermint errors ErrBroadcastTx = errors.New("broadcast tx error") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Query() QueryClient Tx() TxClient }
Client interface pre-defined with query and tx interfaces
type QueryClient ¶
type QueryClient interface { dquery.Client mquery.Client pquery.Client // TODO: implement with search parameters ActiveLeasesForProvider(id sdk.AccAddress) (mquery.Leases, error) }
QueryClient interface includes query clients of deployment, market and provider modules
func NewQueryClient ¶
func NewQueryClient( dclient dquery.Client, mclient mquery.Client, pclient pquery.Client, ) QueryClient
NewQueryClient creates new query client instance
Click to show internal directories.
Click to hide internal directories.