pricing

package
v0.0.0-...-c52fe67 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	PricingService service.PricingService
}

func NewHandler

func NewHandler(params Params) Handler

func (Handler) GetRecommendedConversion

func (h Handler) GetRecommendedConversion(c echo.Context) error

swagger:route GET /pricing/recommended/conversion pricing reqPricingRecommendedConversion

This endpoint returns price converted to different currencies.

Responses:
  200: PriceList
  500: HTTPError

func (Handler) GetRecommendedSteam

func (h Handler) GetRecommendedSteam(c echo.Context) error

swagger:route GET /pricing/recommended/steam pricing reqPricingRecommendedSteam

This endpoint returns price converted to different currencies.

Responses:
  200: PriceList
  500: HTTPError

type Params

type Params struct {
	fx.In

	PricingService service.PricingService
}

Jump to

Keyboard shortcuts

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