router

package
v0.0.0-...-11559a6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context) *gin.Engine

func WithGroup

func WithGroup(group *gin.RouterGroup) func(*Options)

func WithJwt

func WithJwt(flag bool) func(*Options)

Types

type Options

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

type Router

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

func NewRouter

func NewRouter(options ...func(*Options)) *Router

func (Router) Asset

func (r Router) Asset()

func (Router) Base

func (r Router) Base()

Jump to

Keyboard shortcuts

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