feat: 添加 HttpRoute 接口的 Path 和 Middlewares 方法
This commit is contained in:
@@ -7,4 +7,6 @@ import (
|
|||||||
type HttpRoute interface {
|
type HttpRoute interface {
|
||||||
Register(fiber.Router)
|
Register(fiber.Router)
|
||||||
Name() string
|
Name() string
|
||||||
|
Path() string
|
||||||
|
Middlewares() []any
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user