Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotAuth = errors.New("available only to authorized users")
)
Functions ¶
This section is empty.
Types ¶
type HttpMiddleware ¶
type HttpMiddleware struct {
// contains filtered or unexported fields
}
func InitMiddleware ¶
func InitMiddleware(authAgent auth_domain.AuthAgent) *HttpMiddleware
func (*HttpMiddleware) Auth ¶
func (m *HttpMiddleware) Auth(next echo.HandlerFunc) echo.HandlerFunc
Click to show internal directories.
Click to hide internal directories.