Documentation ¶
Index ¶
- Constants
- type API
- func (api *API) GetImageStream(w http.ResponseWriter, r *http.Request)
- func (api *API) GetSignedUploadURL(w http.ResponseWriter, r *http.Request)
- func (api *API) WriteJSONErrorResponse(message string, statusCode int, w http.ResponseWriter)
- func (api *API) WriteJSONResponse(response interface{}, w http.ResponseWriter)
Constants ¶
View Source
const IdParamNeededLength = 16
View Source
const PageSize = 150
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) GetImageStream ¶
func (api *API) GetImageStream(w http.ResponseWriter, r *http.Request)
func (*API) GetSignedUploadURL ¶
func (api *API) GetSignedUploadURL(w http.ResponseWriter, r *http.Request)
func (*API) WriteJSONErrorResponse ¶
func (api *API) WriteJSONErrorResponse(message string, statusCode int, w http.ResponseWriter)
func (*API) WriteJSONResponse ¶
func (api *API) WriteJSONResponse(response interface{}, w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.