core

package
v0.0.0-...-b32e05d Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nacos

func Nacos(nc *nacos.NacosConfig) *config.Config

func RegisterPingHandlers

func RegisterPingHandlers(r *gin.RouterGroup, svCtx *svctx.ServiceContext)

健康检查

func RegisterRouters

func RegisterRouters(engine *gin.Engine, svCtx *svctx.ServiceContext)

初始化总路由

func RegisterStaticHandlers

func RegisterStaticHandlers(r *gin.RouterGroup, svCtx *svctx.ServiceContext)

静态资源处理

func RunWindowsServer

func RunWindowsServer(c *config.Config)

func SetLog

func SetLog(c config.Zap)

初始化日志组件 zap

func Viper

func Viper(filename string) *config.Config

Types

This section is empty.

Jump to

Keyboard shortcuts

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