config

package
v0.0.0-...-80c91bd Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Env         string     `yaml:"env"`
	StoragePath string     `yaml:"storagepath"`
	Grpc        GrpcConfig `yaml:"grpc"`
}

func MustLoad

func MustLoad(configPath string) *Config

type GrpcConfig

type GrpcConfig struct {
	Port    int           `yaml:"port"`
	Timeout time.Duration `yaml:"timeout"`
}

Jump to

Keyboard shortcuts

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