config

package
v0.0.0-...-3122bcc Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvPremiumShopID     = "PREMIUM_SHOP_ID"
	EnvPremiumShopSecret = "PREMIUM_SHOP_SECRET" //nolint:gosec

	StandardPremiumShopID     = "297668"
	StandardPremiumShopSecret = "test_qlRvNM1Btl6h3upjYaWEJSxfzjqyI6CdsrbcPsFS_3M" //nolint:gosec
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ProductionMode         bool
	MainServiceName        string
	AllowOrigin            string
	Schema                 string
	PortServer             string
	URLDataBase            string
	AddressFileServiceGrpc string
	AddressAuthServiceGrpc string
	PremiumShopID          string
	PremiumShopSecret      string
	PathCertFile           string
	PathKeyFile            string
	OutputLogPath          string
	ErrorOutputLogPath     string
}

func New

func New() *Config

Jump to

Keyboard shortcuts

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