config

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

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

Go to latest
Published: Mar 26, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEnabled

func IsEnabled(key bool) func(c *fiber.Ctx) bool

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
	Logger     logger
	DB         db
	Middleware middleware
}

func ParseConfig

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

Jump to

Keyboard shortcuts

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