Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBInterface ¶
type PostHandler ¶
type PostHandler struct {
// contains filtered or unexported fields
}
func NewPostHandler ¶
func NewPostHandler(db DBInterface) *PostHandler
func (*PostHandler) CreatePost ¶
func (ph *PostHandler) CreatePost(c echo.Context) error
func (*PostHandler) DeletePost ¶
func (ph *PostHandler) DeletePost(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.