Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 {
Render interfaces.Renderer
CacheService *cacheHelper.Helper
Config *config.Config
EmailSender email.Sender
}
Feedback represents the handlers required to provide feedback
func NewFeedback ¶ added in v1.0.0
func NewFeedback(rc interfaces.Renderer, c *cacheHelper.Helper, cfg *config.Config, es email.Sender) *Feedback
NewFeedback creates a new instance of Feedback
func (*Feedback) AddFeedback ¶ added in v1.0.0
func (f *Feedback) AddFeedback() http.HandlerFunc
AddFeedback handles a users feedback request
func (*Feedback) FeedbackThanks ¶ added in v1.0.0
func (f *Feedback) FeedbackThanks() http.HandlerFunc
FeedbackThanks loads the Feedback Thank you page
func (*Feedback) GetFeedback ¶ added in v1.0.0
func (f *Feedback) GetFeedback() http.HandlerFunc
GetFeedback handles the loading of a feedback page
Click to show internal directories.
Click to hide internal directories.