Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFeedback ¶ added in v0.2.0
func AddFeedback(to, from string, isPositive bool, rend interfaces.Renderer, emailSender email.Sender) http.HandlerFunc
AddFeedback handles a users feedback request and sends a message to slack
func GetFeedback ¶ added in v0.2.0
func GetFeedback(rend interfaces.Renderer) http.HandlerFunc
GetFeedback handles the loading of a feedback page
Types ¶
type ClientError ¶
ClientError is an interface that can be used to retrieve the status code if a client has errored
type Feedback ¶ added in v0.2.0
type Feedback struct {
Type string `schema:"type"`
URI string `schema:":uri"`
URL string `schema:"url"`
Description string `schema:"description"`
Name string `schema:"name"`
Email string `schema:"email"`
FeedbackFormType string `schema:"feedback-form-type"`
}
Feedback represents a user's feedback
Click to show internal directories.
Click to hide internal directories.