aboutsummaryrefslogblamecommitdiff
path: root/plugin.go
blob: 03e2261f803f96caafdadfebcf453e65c9fc6bd7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


               
                       

                                     



                       
                                  
                                    
                                                   

                     
package koushin

import (
	"html/template"

	"github.com/labstack/echo/v4"
)

type Plugin interface {
	Name() string
	Filters() template.FuncMap
	SetRoutes(group *echo.Group)
	Inject(name string, data interface{}) error
	Close() error
}