Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataResponse ¶
type DataResponse struct { StatusCode int Data io.ReadCloser Error string }
type JsonResponse ¶
type JsonResponse struct { StatusCode int Model interface{} }
type Muxer ¶
type Muxer interface { RegisterJson(path string, handler func(HttpContext) (*JsonResponse, error)) RegisterData(path string, handler func(HttpContext) (*DataResponse, error)) }
Click to show internal directories.
Click to hide internal directories.