routers

package
v0.0.0-...-9fdd194 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(routers *Routers)

type Routers

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

func NewRouters

func NewRouters(handlers handlers.Handlerser, options ...Option) (routers *Routers)

func (*Routers) Register

func (routers *Routers) Register() http.Handler

type Routerser

type Routerser interface {
	Register() http.Handler
}

Jump to

Keyboard shortcuts

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