handler

package
v0.0.0-...-3ec4966 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL