httprouter

package
v0.0.0-...-eb3f635 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithEngine

func WithEngine(engine *gin.Engine) option

Types

type Engine

type Engine interface {
	Router

	NoRoute(handlers ...gin.HandlerFunc)
	Run(host ...string) error
	Shutdown(ctx context.Context) error
}

type Router

type Router = gin.IRouter

type Server

type Server struct{ Engine }

func New

func New(config *viper.Viper, opts ...option) *Server

Directories

Path Synopsis
Package middleware provide some useful middleware
Package middleware provide some useful middleware

Jump to

Keyboard shortcuts

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