router

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRouterController

func InitRouterController(s rs.Router, route *gin.RouterGroup, logger logging.Logger) *routerController

Types

type RouteRes

type RouteRes struct {
	From     string   `json:"from"`
	To       string   `json:"to"`
	HopCount int      `json:"hopCount"`
	Route    []string `json:"route"`
}

type RoutesRes

type RoutesRes []RouteRes

Jump to

Keyboard shortcuts

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