config

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyringeConfig

type SyringeConfig struct {
	LessonsDir          string
	Tier                string
	Domain              string
	GRPCPort            int
	HTTPPort            int
	DeviceGCAge         int
	NonDeviceGCAge      int
	HealthCheckInterval int
	TSDBExportInterval  int
	TSDBEnabled         bool
	LessonTTL           int

	LessonsLocal     bool
	LessonRepoRemote string
	LessonRepoBranch string
	LessonRepoDir    string
}

func LoadConfigVars

func LoadConfigVars() (*SyringeConfig, error)

func (*SyringeConfig) JSON added in v0.3.1

func (c *SyringeConfig) JSON() string

Jump to

Keyboard shortcuts

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