Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPResponse ¶
func HTTPResponse(w http.ResponseWriter, req *http.Request, res Response)
HTTPResponse 함수는 Response 구조체를 HTTP로 응답합니다
Types ¶
type API ¶
type API interface { URI() string Get(w http.ResponseWriter, req *http.Request, ps httprouter.Params) Response Post(w http.ResponseWriter, req *http.Request, ps httprouter.Params) Response Put(w http.ResponseWriter, req *http.Request, ps httprouter.Params) Response Delete(w http.ResponseWriter, req *http.Request, ps httprouter.Params) Response }
API 인터페이스는 API에서 구현해야할 메서드를 가집니다
Click to show internal directories.
Click to hide internal directories.