github.com/database64128/shadowsocks-go@v1.10.2-0.20240315062903-143a773533f1/api/v1/v1.go (about)

     1  package v1
     2  
     3  import "github.com/gofiber/fiber/v2"
     4  
     5  func Routes(router fiber.Router) *ServerManager {
     6  	v1 := router.Group("/v1")
     7  	sm := NewServerManager()
     8  	sm.Routes(v1)
     9  	return sm
    10  }