router

package
v1.15.7 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RouterPrefix = "/apinto/"
)

Variables

This section is empty.

Functions

func DeletePath

func DeletePath(id string)

func GetHandler

func GetHandler() *router

func SetPath

func SetPath(id string, path string, handler http.Handler) error

Types

type IRouter

type IRouter interface {
	http.Handler
	Set(id string, path string, handler http.Handler) error
	Delete(id string)
}

Jump to

Keyboard shortcuts

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