initial

package
v1.4.65 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 25 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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