config

package
v0.0.0-...-7d6db92 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAddr

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

ParseAddr From https://github.com/gofiber/fiber/blob/master/helpers.go#L305.

Types

type Config

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

func NewConfig

func NewConfig() *Config

func ParseConfig

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

Jump to

Keyboard shortcuts

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