config

package
v0.0.0-...-2fddd97 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Init is used to initialize new config

Types

type Config

type Config struct {
	MySQLPikopos string
	JWTSecret    string
	BaseURL      string

	OAuth map[string]struct {
		ClientID     string
		ClientSecret string
		Scopes       []string
	}
}
var C Config

TODO: remove it, return the variable to app.go instead. These struct should only be used in clients, not be used in services or deliveries.

Jump to

Keyboard shortcuts

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