Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinGeckoAPI ¶
type Implementation ¶
type Implementation struct { desc.UnimplementedCoinGeckoAPIServer // contains filtered or unexported fields }
func New ¶
func New(coinGeckoAPI CoinGeckoAPI) *Implementation
func (*Implementation) GetDescription ¶
func (i *Implementation) GetDescription() *grpc.ServiceDesc
func (*Implementation) GetPrice ¶
func (i *Implementation) GetPrice(ctx context.Context, req *desc.GetPriceRequest) (*desc.GetPriceResponse, error)
Click to show internal directories.
Click to hide internal directories.