Documentation ¶
Index ¶
- type Config
- type Rest
- func (r Rest) DraftHandler(w http.ResponseWriter, req *http.Request)
- func (r Rest) DraftsHandler(w http.ResponseWriter, req *http.Request)
- func (r Rest) EditHandler(w http.ResponseWriter, req *http.Request)
- func (r Rest) HomeHandler(w http.ResponseWriter, req *http.Request)
- func (r Rest) SaveHandler(w http.ResponseWriter, req *http.Request)
- func (r Rest) SubmitHandler(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rest ¶
type Rest struct {
// contains filtered or unexported fields
}
func New ¶
func New(v *validator.Validate, p processors.Processor) Rest
func (Rest) DraftHandler ¶
func (r Rest) DraftHandler(w http.ResponseWriter, req *http.Request)
func (Rest) DraftsHandler ¶
func (r Rest) DraftsHandler(w http.ResponseWriter, req *http.Request)
func (Rest) EditHandler ¶
func (r Rest) EditHandler(w http.ResponseWriter, req *http.Request)
func (Rest) HomeHandler ¶
func (r Rest) HomeHandler(w http.ResponseWriter, req *http.Request)
func (Rest) SaveHandler ¶
func (r Rest) SaveHandler(w http.ResponseWriter, req *http.Request)
func (Rest) SubmitHandler ¶
func (r Rest) SubmitHandler(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.