module

package
v0.0.0-...-2fc92df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewWebModules = fx.Module("web-module",
	index.NewDemoModule,

	fx.Provide(
		fx.Annotate(NewRouter,

			fx.As(new(rctrl.ModuleRouter)),

			fx.ParamTags(`group:"web-controllers"`),

			fx.ResultTags(`group:"modules"`),
		),
	),
)

Functions

This section is empty.

Types

type Router

type Router struct {
	// contains filtered or unexported fields
}

func NewRouter

func NewRouter(controllers ...rctrl.Controller) *Router

func (*Router) Register

func (r *Router) Register(app fiber.Router, cfg *config.Config, args ...any)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL