v1

package
v0.0.0-...-753f795 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(handler *echo.Echo, l *zerolog.Logger, c usecase.DynamicQuote)

Types

type DynamicQuotesResponse

type DynamicQuotesResponse struct {
	Quotes []Quote `json:"quotes"`
}

type Quote

type Quote struct {
	Currency string          `json:"currency"`
	MinQuote entity.MinPrice `json:"min_quote"`
	MaxQuote entity.MaxPrice `json:"max_quote"`
	AvgQuote entity.AvgPrice `json:"avg_quote"`
}

Jump to

Keyboard shortcuts

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