router

package
v0.0.0-...-8db52b6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(l *zap.Logger, opt Options) *gin.Engine

Types

type EngineAlias

type EngineAlias = *gin.Engine

EngineAlias is an alias wrapper to avoid importing gin in wire provider signatures elsewhere.

type Options

type Options struct {
	EnableCORS bool
	Auth       struct {
		Enable bool
		Header string
		Prefix string
	}
	JWT config.JWT
}

Source Files

  • engine_alias.go
  • router.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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