Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Clear(w http.ResponseWriter, r *http.Request)
- func (h *Handler) CreateForum(w http.ResponseWriter, r *http.Request)
- func (h *Handler) CreatePost(w http.ResponseWriter, r *http.Request)
- func (h *Handler) CreateThread(w http.ResponseWriter, r *http.Request)
- func (h *Handler) CreateUser(w http.ResponseWriter, r *http.Request)
- func (h *Handler) CreateVote(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetForum(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetPost(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetPosts(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetThread(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetThreads(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetUserByNick(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetUsersByForum(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Status(w http.ResponseWriter, r *http.Request)
- func (h *Handler) UpdatePost(w http.ResponseWriter, r *http.Request)
- func (h *Handler) UpdateThread(w http.ResponseWriter, r *http.Request)
- func (h *Handler) UpdateUser(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
Service forum.ServiceInterface
}
func (*Handler) CreateForum ¶
func (h *Handler) CreateForum(w http.ResponseWriter, r *http.Request)
func (*Handler) CreatePost ¶
func (h *Handler) CreatePost(w http.ResponseWriter, r *http.Request)
func (*Handler) CreateThread ¶
func (h *Handler) CreateThread(w http.ResponseWriter, r *http.Request)
func (*Handler) CreateUser ¶
func (h *Handler) CreateUser(w http.ResponseWriter, r *http.Request)
func (*Handler) CreateVote ¶
func (h *Handler) CreateVote(w http.ResponseWriter, r *http.Request)
func (*Handler) GetThreads ¶
func (h *Handler) GetThreads(w http.ResponseWriter, r *http.Request)
func (*Handler) GetUserByNick ¶
func (h *Handler) GetUserByNick(w http.ResponseWriter, r *http.Request)
func (*Handler) GetUsersByForum ¶
func (h *Handler) GetUsersByForum(w http.ResponseWriter, r *http.Request)
func (*Handler) UpdatePost ¶
func (h *Handler) UpdatePost(w http.ResponseWriter, r *http.Request)
func (*Handler) UpdateThread ¶
func (h *Handler) UpdateThread(w http.ResponseWriter, r *http.Request)
func (*Handler) UpdateUser ¶
func (h *Handler) UpdateUser(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.