config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAddress

func ParseAddress(raw string) (host, port string)

func to parse address

Types

type Config

type Config struct {
	App        app
	DB         db
	Logger     logger
	Middleware middleware
}

func NewConfig

func NewConfig() *Config

initialize config

func ParseConfig

func ParseConfig(name string, debug ...bool) (*Config, error)

func to parse config

Jump to

Keyboard shortcuts

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