internal

package
v0.0.0-...-8982558 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cors

func Cors(origins []string, maxAges ...time.Duration) gin.HandlerFunc

func Exit

func Exit() (err error)

func Load

func Load(project *viper.Viper, migrations embed.FS) (err error)

func Run

func Run(project *viper.Viper) (errch chan error, err error)

func ServeGrpc

func ServeGrpc(listener net.Listener, errch chan<- error)

func ServeHTTP

func ServeHTTP(listener net.Listener, errch chan<- error)

func ServeInternal

func ServeInternal(listener net.Listener, errch chan<- error)

func SetupHttp

func SetupHttp(release bool, config *viper.Viper) (err error)

func SetupInternal

func SetupInternal(config *viper.Viper, meta map[string]any) (err error)

func SetupLog

func SetupLog(appName string, release bool) (err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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