config

package
v0.0.0-...-6784bb4 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2021 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute - gRPC Gatewayの起動

Types

type Environment

type Environment struct {
	Port          string `envconfig:"PORT" default:"8080"`
	MetricsPort   string `envconfig:"METRICS_PORT" default:"9090"`
	LogPath       string `envconfig:"LOG_PATH" default:""`
	LogLevel      string `envconfig:"LOG_LEVEL" default:"info"`
	SSLValidation bool   `envconfig:"SSL_VALIDATION" default:"false"`
	SSLVerify     bool   `envconfig:"SSL_VERIFY" default:"false"`
	UserAPIURL    string `envconfig:"USER_API_URL" default:""`
}

Environment - システム内で利用する環境変数の構造体

Jump to

Keyboard shortcuts

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