Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { // LogLevel is INFO, DEBUG, or ERROR LogLevel string `envconfig:"LOG_LEVEL" default:"INFO"` // Port is the port number grpc-http-proxy will listen on Port int16 `envconfig:"PORT" default:"3000"` // Token is the access token Token string `envconfig:"TOKEN"` }
func ReadFromEnv ¶
Click to show internal directories.
Click to hide internal directories.