Bugfixes. Optimizations/refactor. Add redis for player-cache. Add docker files. Replace sqlite dep. Single-Calc for existing players. Game-Metrics in JSON.
This commit is contained in:
18
models/metrics_json.go
Normal file
18
models/metrics_json.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package models
|
||||
|
||||
type GameMetrics struct {
|
||||
GameMetrics []GameMetric
|
||||
}
|
||||
|
||||
type GameMetric struct {
|
||||
NormalizeFactor float64
|
||||
TopWeaponCount int
|
||||
GameName string
|
||||
WeaponMetrics []WeaponMetric
|
||||
}
|
||||
|
||||
type WeaponMetric struct {
|
||||
WeaponCategory string
|
||||
AccuracyFactor float64
|
||||
KpmFactor float64
|
||||
}
|
||||
Reference in New Issue
Block a user