boot

package
v0.0.0-...-8c67d6e Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindConfig

func BindConfig(v *viper.Viper)

func Boot

func Boot()

func Cron

func Cron()

func Log

func Log() *slog.Logger

func Migrate

func Migrate(db *gorm.DB)

func Mysql

func Mysql() *gorm.DB

func Router

func Router() *gin.Engine

func RouterPlugin

func RouterPlugin(PublicGroup, PrivateGroup *gin.RouterGroup)

func RouterPrivate

func RouterPrivate(PrivateGroup *gin.RouterGroup)

func RouterPublic

func RouterPublic(PublicGroup *gin.RouterGroup)

func StaticFS

func StaticFS(r *gin.Engine)

func Viper

func Viper() *viper.Viper

Types

This section is empty.

Jump to

Keyboard shortcuts

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