Versions in this module Expand all Collapse all v0 v0.0.1 Sep 28, 2021 Changes in this version + var Module = fx.Options(fx.Provide(NewPprofRoutes), fx.Provide(NewSwaggerRoutes), ...) + type PprofRoutes struct + func NewPprofRoutes(logger lib.Logger, handler lib.HttpHandler) PprofRoutes + func (a PprofRoutes) Setup() + type PublicRoutes struct + func NewPublicRoutes(logger lib.Logger, handler lib.HttpHandler, ...) PublicRoutes + func (a PublicRoutes) Setup() + type RoleRoutes struct + func NewRoleRoutes(logger lib.Logger, handler lib.HttpHandler, ...) RoleRoutes + func (a RoleRoutes) Setup() + type Route interface + Setup func() + type Routes []Route + func NewRoutes(pprofRoutes PprofRoutes, swaggerRoutes SwaggerRoutes, ...) Routes + func (a Routes) Setup() + type SwaggerRoutes struct + func NewSwaggerRoutes(config lib.Config, logger lib.Logger, handler lib.HttpHandler) SwaggerRoutes + func (a SwaggerRoutes) Setup()