Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier creates and returns a new market querier instance
Types ¶
type Client ¶
type Client interface { Orders(filters types.OrderFilters) (Orders, error) Order(id types.OrderID) (Order, error) Bids(filters types.BidFilters) (Bids, error) Bid(id types.BidID) (Bid, error) Leases(filters types.LeaseFilters) (Leases, error) Lease(id types.LeaseID) (Lease, error) }
Client interface
type RawClient ¶
type RawClient interface { Orders(filters types.OrderFilters) ([]byte, error) Order(id types.OrderID) ([]byte, error) Bids(filters types.BidFilters) ([]byte, error) Bid(id types.BidID) ([]byte, error) Leases(filters types.LeaseFilters) ([]byte, error) Lease(id types.LeaseID) ([]byte, error) }
RawClient interface
func NewRawClient ¶
func NewRawClient(ctx context.CLIContext, key string) RawClient
NewRawClient creates a raw client instance with provided context and key
Click to show internal directories.
Click to hide internal directories.