bootstrap

package
v0.0.0-...-332cf44 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KoanfYamlFile *koanf.Koanf
)

Functions

func InitZerolog

func InitZerolog()

InitZerolog init zerolog configuration

Types

type Fiber

type Fiber struct {
	App *fiber.App
}

func NewFiber

func NewFiber(config ...fiber.Config) *Fiber

func (*Fiber) Middleware

func (f *Fiber) Middleware()

func (*Fiber) Start

func (f *Fiber) Start(host, port string)

type Koanf

type Koanf struct {
	New *koanf.Koanf
}

func NewKoanf

func NewKoanf(delimiter string) *Koanf

func (*Koanf) UseYamlFile

func (k *Koanf) UseYamlFile(path string, isWatch ...bool)

Jump to

Keyboard shortcuts

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