client

package
v0.0.0-...-2119b44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rate

type Rate struct {
	// contains filtered or unexported fields
}

func NewRate

func NewRate(rate string, timeout time.Duration) (*Rate, error)

func (*Rate) Close

func (c *Rate) Close()

func (*Rate) GetRateById

func (c *Rate) GetRateById(req *pb.GetRateByIdRequest) (*pb.GetRateByIdResponse, error)

func (*Rate) GetRates

func (c *Rate) GetRates(req *pb.GetRatesRequest) (*pb.GetRatesResponse, error)

type RateService

type RateService interface {
	GetRates(req *pb.GetRatesRequest) (*pb.GetRatesResponse, error)
	GetRateById(req *pb.GetRateByIdRequest) (*pb.GetRateByIdResponse, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL