config

package
v1.16.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

This section is empty.

Types

type Config

type Config struct {
	AppName  string `envconfig:"APP_NAME" required:"true"`
	HTTPPort uint   `envconfig:"HTTP_PORT" required:"true" default:"8080"`
	GRPCPort uint   `envconfig:"GRPC_PORT" required:"true" default:"8081"`
}

Config for the services.

func NewConfig

func NewConfig() (*Config, error)

NewConfig for the services.

Jump to

Keyboard shortcuts

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