listing

package
v0.0.0-...-87b6879 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	List(
		ctx context.Context,
		dateFrom, dateTo time.Time,
		currencyFrom, currencyTo string,
	) ([]Statistic, error)
}

func NewService

func NewService(db driver.Conn, mc *memcache.Client) Service

type Statistic

type Statistic struct {
	Window time.Time
	Min    float64
	Max    float64
	Mean   float64
	Median float64
}

Jump to

Keyboard shortcuts

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