Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrencyServerHandler ¶
func GetCurrencyServerHandler(logger *zap.Logger) protos.CurrencyServer
GetCurrencyServerHandler creates a new instance of CurrencyServerHandler.
Types ¶
type CurrencyServerHandler ¶
type CurrencyServerHandler struct {
// contains filtered or unexported fields
}
CurrencyServerHandler implements protos.CurrencyServer.
func (*CurrencyServerHandler) GetRate ¶
func (csh *CurrencyServerHandler) GetRate(ctx context.Context, req *protos.RateRequest) (*protos.RateResponse, error)
GetRate implements the GetRate RPC method.
Click to show internal directories.
Click to hide internal directories.