config

package
v0.0.0-...-1fb7fa3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute - gRPC Serverの起動

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"`
}

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

Jump to

Keyboard shortcuts

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