Documentation
¶
Index ¶
- type NotificationHandler
- func (n *NotificationHandler) CancelNotificationHandler(w http.ResponseWriter, r *http.Request)
- func (n *NotificationHandler) GetAllNotificationsHandler(w http.ResponseWriter, r *http.Request)
- func (n *NotificationHandler) GetNotificationsHandler(w http.ResponseWriter, r *http.Request)
- func (n *NotificationHandler) NewNotificationHandler(w http.ResponseWriter, r *http.Request)
- func (n *NotificationHandler) NotificationClickedHandler(w http.ResponseWriter, r *http.Request)
- func (n *NotificationHandler) UpdateNotificationHandler(w http.ResponseWriter, r *http.Request)
- type ProjectHandler
- func (pr *ProjectHandler) CreateProjectHandler(w http.ResponseWriter, r *http.Request)
- func (pr *ProjectHandler) DeleteProjectHandler(w http.ResponseWriter, r *http.Request)
- func (pr *ProjectHandler) GetAllProjectsHandler(w http.ResponseWriter, r *http.Request)
- func (pr *ProjectHandler) GetProjectHandler(w http.ResponseWriter, r *http.Request)
- func (pr *ProjectHandler) UpdateProjectHandler(w http.ResponseWriter, r *http.Request)
- type RemoteConfigHandler
- type UserHandler
- func (u *UserHandler) AdminAddUserHandler(w http.ResponseWriter, r *http.Request)
- func (u *UserHandler) AdminUpdateUserHandler(w http.ResponseWriter, r *http.Request)
- func (u *UserHandler) UserProfileHandler(w http.ResponseWriter, r *http.Request)
- func (u *UserHandler) UserRoleHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationHandler ¶
type NotificationHandler struct {
// contains filtered or unexported fields
}
func NewNotificationHandler ¶
func NewNotificationHandler( r *mux.Router, authMiddleware mux.MiddlewareFunc, noRepo domain.NotificationRepository, prRepo domain.ProjectRepository, noCache domain.NotificationCache, ) *NotificationHandler
func (*NotificationHandler) CancelNotificationHandler ¶
func (n *NotificationHandler) CancelNotificationHandler(w http.ResponseWriter, r *http.Request)
func (*NotificationHandler) GetAllNotificationsHandler ¶
func (n *NotificationHandler) GetAllNotificationsHandler(w http.ResponseWriter, r *http.Request)
func (*NotificationHandler) GetNotificationsHandler ¶
func (n *NotificationHandler) GetNotificationsHandler(w http.ResponseWriter, r *http.Request)
func (*NotificationHandler) NewNotificationHandler ¶
func (n *NotificationHandler) NewNotificationHandler(w http.ResponseWriter, r *http.Request)
func (*NotificationHandler) NotificationClickedHandler ¶
func (n *NotificationHandler) NotificationClickedHandler(w http.ResponseWriter, r *http.Request)
func (*NotificationHandler) UpdateNotificationHandler ¶
func (n *NotificationHandler) UpdateNotificationHandler(w http.ResponseWriter, r *http.Request)
type ProjectHandler ¶
type ProjectHandler struct {
// contains filtered or unexported fields
}
func NewProjectHandler ¶
func NewProjectHandler(r *mux.Router, authMiddleware mux.MiddlewareFunc, prRepo domain.ProjectRepository, userRepo domain.UserRepository) *ProjectHandler
func (*ProjectHandler) CreateProjectHandler ¶
func (pr *ProjectHandler) CreateProjectHandler(w http.ResponseWriter, r *http.Request)
func (*ProjectHandler) DeleteProjectHandler ¶
func (pr *ProjectHandler) DeleteProjectHandler(w http.ResponseWriter, r *http.Request)
func (*ProjectHandler) GetAllProjectsHandler ¶
func (pr *ProjectHandler) GetAllProjectsHandler(w http.ResponseWriter, r *http.Request)
func (*ProjectHandler) GetProjectHandler ¶
func (pr *ProjectHandler) GetProjectHandler(w http.ResponseWriter, r *http.Request)
func (*ProjectHandler) UpdateProjectHandler ¶
func (pr *ProjectHandler) UpdateProjectHandler(w http.ResponseWriter, r *http.Request)
type RemoteConfigHandler ¶
type RemoteConfigHandler struct {
// contains filtered or unexported fields
}
func NewRemoteConfigHandler ¶
func NewRemoteConfigHandler( r *mux.Router, authMiddleware mux.MiddlewareFunc, rcRepo domain.RemoteConfigRepository, prRepo domain.ProjectRepository, rcCache domain.RemoteConfigCache, ) *RemoteConfigHandler
func (*RemoteConfigHandler) GetDataHandler ¶
func (rc *RemoteConfigHandler) GetDataHandler(w http.ResponseWriter, r *http.Request)
func (*RemoteConfigHandler) UpdateDataHandler ¶
func (rc *RemoteConfigHandler) UpdateDataHandler(w http.ResponseWriter, r *http.Request)
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(r *mux.Router, authMiddleware mux.MiddlewareFunc, repo domain.UserRepository) *UserHandler
func (*UserHandler) AdminAddUserHandler ¶
func (u *UserHandler) AdminAddUserHandler(w http.ResponseWriter, r *http.Request)
func (*UserHandler) AdminUpdateUserHandler ¶
func (u *UserHandler) AdminUpdateUserHandler(w http.ResponseWriter, r *http.Request)
func (*UserHandler) UserProfileHandler ¶
func (u *UserHandler) UserProfileHandler(w http.ResponseWriter, r *http.Request)
func (*UserHandler) UserRoleHandler ¶
func (u *UserHandler) UserRoleHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.