github.com/TykTechnologies/tyk-pump/analytics/demo
No package summary is available.
Package
Files: 1. Third party imports: 2. Imports from organisation: 0. Tests: 0. Benchmarks: 0.
Vars
Functions
func DemoInit
func GenerateAPIKeys
func GenerateDemoData
Uses: time.Date, time.Now, time.UTC.
func GenerateRandomAnalyticRecord
Uses: analytics.AnalyticsRecord, time.Hour, time.Now.
func WriteDemoData
Uses: time.Duration, time.Hour, time.Now, time.Second.
Private functions
func country
References: rand.Intn.
func generateAPIKey
References: strings.Replace, uuid.NewV4.
func getRandomKey
References: rand.Intn.
func getUA
References: rand.Intn.
func randomAPI
References: rand.Intn.
func randomInRange
References: rand.Intn, rand.Seed, time.Now.
func randomMethod
References: rand.Intn, rand.Seed, time.Now.
func randomPath
References: rand.Intn.
func responseCode
References: rand.Intn.
Tests
Files: 1. Third party imports: 2. Imports from organisation: 0. Tests: 1. Benchmarks: 0.