aboutsummaryrefslogtreecommitdiff
path: root/echo/interfaces.go
diff options
context:
space:
mode:
Diffstat (limited to 'echo/interfaces.go')
-rw-r--r--echo/interfaces.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/echo/interfaces.go b/echo/interfaces.go
index f3380c6..1f3957a 100644
--- a/echo/interfaces.go
+++ b/echo/interfaces.go
@@ -1,6 +1,8 @@
1package echo 1package echo
2 2
3import ( 3import (
4 "io/fs"
5
4 "github.com/labstack/echo/v4" 6 "github.com/labstack/echo/v4"
5) 7)
6 8
@@ -18,3 +20,9 @@ type URLRouter interface {
18 Group(string, ...echo.MiddlewareFunc) *echo.Group 20 Group(string, ...echo.MiddlewareFunc) *echo.Group
19 Add(string, string, echo.HandlerFunc, ...echo.MiddlewareFunc) *echo.Route 21 Add(string, string, echo.HandlerFunc, ...echo.MiddlewareFunc) *echo.Route
20} 22}
23
24// WantsTemplateStore is an interface for template helper functions that
25// need access to the template store for the running echo instance.
26type WantsTemplateStore interface {
27 ConfigureTemplateStore(fs.FS)
28}