package controller import ( "github.com/gin-gonic/gin" "github.com/go-andiamo/chioas" ) // SecuredController - means, controller has middlewares // Maybe should rename it later type SecuredController interface { Middlewares() []gin.HandlerFunc } type DocumentateController interface { Documentate() (*chioas.Paths, *chioas.Components) } type Controller interface { New() Controller Handler() gin.HandlerFunc Method() string Path() string }