Documentation
¶
Index ¶
- type Addr
- type App
- func (a *App) DELETE(path string, h http.HandlerFunc)
- func (a *App) GET(path string, h http.HandlerFunc)
- func (a *App) HEAD(path string, h http.HandlerFunc)
- func (a *App) POST(path string, h http.HandlerFunc)
- func (a *App) PUT(path string, h http.HandlerFunc)
- func (a *App) RegisteGrpcService(desc *grpc.ServiceDesc, s any)
- func (a *App) Run()
- type AppOption
- type AppOptions
- type SLogConfig
- type TLSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) RegisteGrpcService ¶
func (a *App) RegisteGrpcService(desc *grpc.ServiceDesc, s any)
type AppOption ¶
type AppOption func(aos *AppOptions)
func WihtGrpcWeb ¶
func WithCorsOptions ¶
func WithPromAddr ¶
func WithSlogConfig ¶
func WithSlogConfig(l *SLogConfig) AppOption
func WithTLSConfig ¶
type AppOptions ¶
type AppOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.