Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { CliCtx *clictx.Client RPC *rpc.Client GRPC *grpc.Client Market *market.Client }
Client is a wrapper for various clients.
func NewClient ¶
func NewClient(rpcURL string, grpcURL string, cmcConfig config.CoinMarketCapConfig) (*Client, error)
NewClient creates a new Client with the given configuration.
func (*Client) GetGRPCClient ¶
GetGRPCClient returns GRPC client.
func (*Client) GetMarketClient ¶
GetMarketClient returns Market client.
func (*Client) GetRPCClient ¶
GetRPCClient returns RPC client.
Click to show internal directories.
Click to hide internal directories.