Documentation
¶
Index ¶
- func GetImage(ctx context.Context, key string, buf *bytes.Buffer) error
- func HandleImage(res http.ResponseWriter, req *http.Request)
- func SaveAvatar(ctx context.Context, id string, data []byte) error
- func SaveImage(ctx context.Context, id string, data []byte) error
- func SaveScreenshot(ctx context.Context, id string, data []byte) error
- func SaveThumbnail(ctx context.Context, id string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleImage ¶
func HandleImage(res http.ResponseWriter, req *http.Request)
HandleImage handles fetching and displaying an image from one of the image caches.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.