Documentation ¶
Index ¶
- Variables
- func Add(p model.Parameters) error
- func AddInDB(p model.Parameters) error
- func AddInMemory(p model.Parameters)
- func DeleteStatsDB() error
- func GetMostFrequent() (model.Parameters, int)
- func GetMostFrequentDB() (model.Parameters, error)
- func GetMostFrequentMemory() (model.Parameters, int)
- type Pair
- type Pairlist
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RequestsStored = make(map[model.Parameters]int) AddParametersChan chan model.Parameters )
Functions ¶
func Add ¶
func Add(p model.Parameters) error
func AddInDB ¶
func AddInDB(p model.Parameters) error
func AddInMemory ¶
func AddInMemory(p model.Parameters)
func DeleteStatsDB ¶
func DeleteStatsDB() error
func GetMostFrequent ¶
func GetMostFrequent() (model.Parameters, int)
func GetMostFrequentDB ¶
func GetMostFrequentDB() (model.Parameters, error)
func GetMostFrequentMemory ¶
func GetMostFrequentMemory() (model.Parameters, int)
Types ¶
type Pair ¶
type Pair struct { P model.Parameters V int }
Click to show internal directories.
Click to hide internal directories.