Documentation
¶
Overview ¶
Package save implements a system for saving files to various targets
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PNG ¶
PNG saves a PNG image to permanent storage. It relies on an environment variable WORLD_SAVE_TARGET to determine behavior. The default behavior is to save to the local filesystem. Set WORLD_SAVE_DIRECTORY to the directory to use as the root directory for saving files. Set WORLD_WEB_DOMAIN to the domain name (without protocol) the API serves on.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.