Documentation
¶
Index ¶
- func Bootstrap(ctx context.Context) error
- func BuildGormLogger(cfg *config.Config) logger.Interface
- func ConfigureGormLogger(cfg *config.Config)
- func NewHTTPServer(lc fx.Lifecycle, p HTTPServerParams) (*http.Server, error)
- func SetupSlogLogger(cfg *config.Config)
- type HTTPServerParams
- type RouterParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureGormLogger ¶
func NewHTTPServer ¶ added in v2.6.0
NewHTTPServer builds the shared HTTP/gRPC server and registers its lifecycle.
func SetupSlogLogger ¶
Types ¶
type HTTPServerParams ¶ added in v2.6.0
type RouterParams ¶ added in v2.6.0
type RouterParams struct {
fx.In
Context context.Context
Config *config.Config
HandlerDeps api.HandlerDeps
AuthMiddleware *middleware.AuthMiddleware
}
Click to show internal directories.
Click to hide internal directories.