initial

package
v1.4.52 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

Package initial 服务启动时的初始化包,负责配置加载、数据库连接、 日志系统、链路追踪及优雅关闭等资源管理。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(servers []app.IServer) []app.Close

Close releasing resources after service exit

func CreateServices

func CreateServices() []app.IServer

CreateServices create services

func InitApp

func InitApp()

InitApp initial app configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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