Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type HttpMiddleware ¶
type HttpMiddleware struct {
// contains filtered or unexported fields
}
func InitMiddleware ¶
func InitMiddleware(authUseCase domain.AuthUseCase) *HttpMiddleware
func (*HttpMiddleware) Auth ¶
func (m *HttpMiddleware) Auth(next echo.HandlerFunc) echo.HandlerFunc
func (*HttpMiddleware) CSRF ¶
func (m *HttpMiddleware) CSRF(next echo.HandlerFunc) echo.HandlerFunc
func (*HttpMiddleware) IsSession ¶
func (m *HttpMiddleware) IsSession(next echo.HandlerFunc) echo.HandlerFunc
func (*HttpMiddleware) NotAuth ¶
func (m *HttpMiddleware) NotAuth(next echo.HandlerFunc) echo.HandlerFunc
Click to show internal directories.
Click to hide internal directories.