Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrClientNotFound = errors.New("Client not found")
ErrClientNotFound is a new error with message "Client not found"
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.