responseHttp

package
v0.0.0-...-945c817 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResponseHandler

func NewResponseHandler(m *mux.Router, rs user_response.Usecase, sanitizer *bluemonday.Policy, logger *zap.SugaredLogger, sessionStore sessions.Store)

Types

type ResponseHandler

type ResponseHandler struct {
	ResponseUsecase user_response.Usecase
	// contains filtered or unexported fields
}

func (*ResponseHandler) HandleGetResponse

func (h *ResponseHandler) HandleGetResponse(w http.ResponseWriter, r *http.Request)

func (*ResponseHandler) HandleGetResponses

func (h *ResponseHandler) HandleGetResponses(w http.ResponseWriter, r *http.Request)

func (*ResponseHandler) HandleGetResponsesOnJobID

func (h *ResponseHandler) HandleGetResponsesOnJobID(w http.ResponseWriter, r *http.Request)

func (*ResponseHandler) HandleResponseAccept

func (h *ResponseHandler) HandleResponseAccept(w http.ResponseWriter, r *http.Request)

func (*ResponseHandler) HandleResponseCancel

func (h *ResponseHandler) HandleResponseCancel(w http.ResponseWriter, r *http.Request)

func (*ResponseHandler) HandleResponseDeny

func (h *ResponseHandler) HandleResponseDeny(w http.ResponseWriter, r *http.Request)

func (*ResponseHandler) HandleResponseJob

func (h *ResponseHandler) HandleResponseJob(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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