Skip to content

Commit 58b86c5

Browse files
committed
chore(agent): use echo's handle function type instead self define
1 parent 3f48953 commit 58b86c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/pkg/tunnel/tunnel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
type HandlerConstraint interface {
19-
~func(echo.Context) error | HandlerFunc
19+
echo.HandlerFunc | HandlerFunc
2020
}
2121

2222
type Tunnel[H HandlerConstraint] interface {

0 commit comments

Comments
 (0)