blob: 73f3962ac7c24cc0285069e5765ec7e5ec3bc754 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package koushin
import (
"html/template"
"github.com/labstack/echo/v4"
)
const pluginDir = "plugins"
type Plugin interface {
Name() string
LoadTemplate(t *template.Template) error
SetRoutes(group *echo.Group)
Inject(name string, data interface{}) error
Close() error
}
|