Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultShutdownTimeout = 30 * time.Second
DefaultShutdownTimeout default shutdown timeout duration DefaultShutdownTimeout 默认关闭超时时间
Variables ¶
This section is empty.
Functions ¶
func BootstrapLogger ¶
BootstrapLogger gets the bootstrap stage logger BootstrapLogger 获取启动阶段日志器
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetApp ¶
func (s *Server) GetApp() *internalApp.App
GetApp gets App Container GetApp 获取 App Container
func (*Server) GetConfig ¶
func (s *Server) GetConfig() *internalApp.AppConfig
GetConfig gets app configuration GetConfig 获取应用配置
Source Files
¶
Click to show internal directories.
Click to hide internal directories.