entertainment

package
v0.0.0-...-365054f Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Estimates

type Estimates struct {
	VideoMinutes    uint64
	MusicMinutes    uint64
	BrowsingMinutes uint64
	TrafficMB       uint64
	PricePerGiB     float64
	PricePerMin     float64
}

Estimates represent estimated entertainment

type Estimator

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

Estimator stores average provider prices to estimate entertainment estimates

func NewEstimator

func NewEstimator(pricePerGiB, pricePerMin float64) *Estimator

NewEstimator constructor

func (*Estimator) EstimatedEntertainment

func (e *Estimator) EstimatedEntertainment(myst float64) Estimates

EstimatedEntertainment calculates average service times

Jump to

Keyboard shortcuts

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