Documentation ¶
Index ¶
- type MyAppController
- func (c *MyAppController) GetArticleByIDHanlder(w http.ResponseWriter, req *http.Request)
- func (c *MyAppController) HelloHandler(w http.ResponseWriter, req *http.Request)
- func (c *MyAppController) ListArticleHandler(w http.ResponseWriter, req *http.Request)
- func (c *MyAppController) PostArticleHandler(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyAppController ¶
type MyAppController struct {
// contains filtered or unexported fields
}
func NewMyAppController ¶
func NewMyAppController(s services.ArticleServicer) *MyAppController
func (*MyAppController) GetArticleByIDHanlder ¶
func (c *MyAppController) GetArticleByIDHanlder(w http.ResponseWriter, req *http.Request)
func (*MyAppController) HelloHandler ¶
func (c *MyAppController) HelloHandler(w http.ResponseWriter, req *http.Request)
func (*MyAppController) ListArticleHandler ¶
func (c *MyAppController) ListArticleHandler(w http.ResponseWriter, req *http.Request)
func (*MyAppController) PostArticleHandler ¶
func (c *MyAppController) PostArticleHandler(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.