config

package
v0.0.0-...-70e5d05 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Period: 1 * time.Second,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Period          time.Duration `config:"period"`
	Googleanalytics GoogleAnalyticsConfig
}

func (Config) String

func (gbConfig Config) String() string

type GoogleAnalyticsConfig

type GoogleAnalyticsConfig struct {
	GoogleCredentialsFilePath string `config:"google_credentials_file"`
	GoogleAnalyticsIDs        string `config:"ga_ids"`
	GoogleAnalyticsMetrics    string `config:"ga_metrics"`
	GoogleAnalyticsDimensions string `config:"ga_dimensions"`
}

func (GoogleAnalyticsConfig) String

func (gaConfig GoogleAnalyticsConfig) String() string

Jump to

Keyboard shortcuts

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