config

package
v0.0.0-...-883cb14 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Provide(
	fx.Annotated{
		Name:   "app::config::path",
		Target: parseFlags,
	},
	New,
)

Functions

This section is empty.

Types

type Config

type Config struct {
	fx.Out

	Http    http.Options
	Logger  logger.Options
	Weather weather.Options
}

func New

func New(params Params) (config Config, err error)

type Params

type Params struct {
	fx.In

	ConfigPath string `name:"app::config::path"`
}

Jump to

Keyboard shortcuts

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