Documentation ¶
Overview ¶
Package sampleroute ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Module( "sample_route", fx.Provide( New, ), fx.Decorate( wrapLogger, ), )
Module is the sample route module.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter struct { fx.In Logger *slog.Logger SampleMiddleware httpserver.Middleware `name:"sample_middleware"` }
Parameter is the input parameter of the New function.
Click to show internal directories.
Click to hide internal directories.