appConfig

package
v0.0.0-...-80a9f4b Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	DB  DB     `json:"mongodb"`
	SDE string `json:"sde"`
	SSO SSO    `json:"sso"`
}

func NewAppConfig

func NewAppConfig(file string) (AppConfig, error)

type DB

type DB struct {
	Address string `json:"address"`
}

type SSO

type SSO struct {
	ClientID    string `json:"clientID"`
	SecretKey   string `json:"secretKey"`
	RedirectURL string `json:"redirectURL"`
}

Jump to

Keyboard shortcuts

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