gin

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() drv.Drv

Types

type Driver

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

func (*Driver) Caps

func (d *Driver) Caps() drv.Capability

func (*Driver) Engine

func (d *Driver) Engine() any

func (*Driver) Handle

func (d *Driver) Handle(method string, pattern string, h http.Handler) error

func (*Driver) IsNil

func (d *Driver) IsNil() bool

func (*Driver) Kind

func (d *Driver) Kind() drv.Kind

func (*Driver) Param

func (d *Driver) Param(r *http.Request, key string) string

func (*Driver) Scope

func (d *Driver) Scope(prefix string) (drv.Drv, error)

func (*Driver) ServeHTTP

func (d *Driver) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Engine

type Engine struct {
	Primary *gin.Engine
	Any     *gin.Engine
}

Jump to

Keyboard shortcuts

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