Documentation ¶
Index ¶
- type Handler
- func (h *Handler) CreateUser(res http.ResponseWriter, req *http.Request)
- func (h *Handler) DeleteUser(res http.ResponseWriter, req *http.Request)
- func (h *Handler) GetHandler(f http.HandlerFunc) http.HandlerFunc
- func (h *Handler) Middleware(next http.Handler) http.HandlerFunc
- func (h *Handler) SetupGoGuardian()
- func (h *Handler) UpdateUser(res http.ResponseWriter, req *http.Request)
- func (h *Handler) UploadApt(res http.ResponseWriter, req *http.Request)
- func (h *Handler) UploadYum(res http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *config.ServiceConfigBuilder, deb *debrepository.DebRepository, yum *rpmrepository.RpmRepo, templatePath string) *Handler
func (*Handler) CreateUser ¶
func (h *Handler) CreateUser(res http.ResponseWriter, req *http.Request)
func (*Handler) DeleteUser ¶
func (h *Handler) DeleteUser(res http.ResponseWriter, req *http.Request)
func (*Handler) GetHandler ¶
func (h *Handler) GetHandler(f http.HandlerFunc) http.HandlerFunc
func (*Handler) Middleware ¶
func (h *Handler) Middleware(next http.Handler) http.HandlerFunc
func (*Handler) SetupGoGuardian ¶
func (h *Handler) SetupGoGuardian()
func (*Handler) UpdateUser ¶
func (h *Handler) UpdateUser(res http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.