Documentation ¶
Index ¶
- Variables
- func ProvideRoutes(rest *Handler) *chi.Mux
- type Handler
- func (h *Handler) Authenticator(next http.Handler) http.Handler
- func (h *Handler) Authorizer(next http.Handler) http.Handler
- func (h *Handler) Delete(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Get(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetOne(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetTheme(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Guest(w http.ResponseWriter, r *http.Request)
- func (h *Handler) HealthZ(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Like(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Login(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Logout(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Patch(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Post(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Put(w http.ResponseWriter, r *http.Request)
- func (h *Handler) ReadyZ(w http.ResponseWriter, r *http.Request)
- func (h *Handler) RefreshToken(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Remote(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SendEmailConfirmation(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SendNotification(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SendResetPassword(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SingUp(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Unlike(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(service service.UserService, auth service.AuthService, mail service.MailService, interact service.InteractService, config config.CommonConfig) *Handler
func (*Handler) RefreshToken ¶
func (h *Handler) RefreshToken(w http.ResponseWriter, r *http.Request)
func (*Handler) SendEmailConfirmation ¶
func (h *Handler) SendEmailConfirmation(w http.ResponseWriter, r *http.Request)
func (*Handler) SendNotification ¶
func (h *Handler) SendNotification(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.