Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogPrivacyAttrKey = []string{
"password",
"token",
"secretkey",
"accesskey",
}
Functions ¶
func GetTraceID ¶
func NewTraceSlogHandler ¶
NewTraceSlogHandler 集成trace的slog handler
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func New ¶
func New(info AppInfo) *Application
func (*Application) CreateWebServer ¶
func (app *Application) CreateWebServer(opts ...web.Option) *web.Server
func (*Application) Run ¶
func (app *Application) Run(srv ...any)
Click to show internal directories.
Click to hide internal directories.