Documentation
¶
Index ¶
- Variables
- func NewAuthHandler(r router.Router) http.HandlerFunc
- func NewContentByIdHandler(r router.Router) func(string, http.ResponseWriter, *http.Request)
- func NewContentBySlugHandler(r router.Router) func(string, http.ResponseWriter, *http.Request)
- func NewContentHandler(r router.Router) http.HandlerFunc
- func NewCreateContentHandler(r router.Router) http.HandlerFunc
- func NewDeleteContentHandler(r router.Router) http.HandlerFunc
- func NewListContentHandler(r router.Router) http.HandlerFunc
- func NewSearchContentHandler(r router.Router) http.HandlerFunc
- func NewUpdateContentHandler(r router.Router) http.HandlerFunc
- func RegisterRoutes(r router.Router, uploadsFileSystem storage.Client)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingSearchQuery = errors.New("query cannot be empty")
Functions ¶
func NewAuthHandler ¶
func NewAuthHandler(r router.Router) http.HandlerFunc
func NewContentByIdHandler ¶
func NewContentBySlugHandler ¶
func NewContentHandler ¶
func NewContentHandler(r router.Router) http.HandlerFunc
func NewCreateContentHandler ¶
func NewCreateContentHandler(r router.Router) http.HandlerFunc
func NewDeleteContentHandler ¶
func NewDeleteContentHandler(r router.Router) http.HandlerFunc
func NewListContentHandler ¶
func NewListContentHandler(r router.Router) http.HandlerFunc
func NewSearchContentHandler ¶
func NewSearchContentHandler(r router.Router) http.HandlerFunc
func NewUpdateContentHandler ¶
func NewUpdateContentHandler(r router.Router) http.HandlerFunc
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.