bootstrap

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 3 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.

README

framework-bootstrap

Go framework package for bootstrap.

Installation

go get github.com/go-anyway/framework-bootstrap@v1.0.0

Usage

See documentation for usage examples.

License

Apache License 2.0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitInfrastructureForServer

func InitInfrastructureForServer(registry *app.DefaultConfigRegistry)

InitInfrastructureForServer 初始化 RPC 服务的基础设施(仅日志) 注意:trace 的初始化由 AppBuilder.Build() 统一管理(包含初始化和生命周期关闭) 这样设计是为了: 1. 避免重复初始化 trace 2. 确保 trace 的关闭由 App 的生命周期管理,保证优雅关闭 registry: 配置注册表(从配置中获取日志配置进行初始化)

Types

This section is empty.

Jump to

Keyboard shortcuts

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