Documentation ¶
Index ¶
Constants ¶
View Source
const ( TOKEN = "" XDT = "XDT" S3 = "S3" ELASTICACHE = "ELASTICACHE" )
Variables ¶
View Source
var ( AKID string SECRET_KEY string AWS_S3_REGION string )
Functions ¶
func Get ¶
Get retrieves a payload corresponding to the provided key from the storage service. An error will occur if the key is not prescent on the service.
func InitStorage ¶
InitStorage initialises the storage modue. This function is used to provide information about which service to use. If s3 is used, "bucket" is the bucket used for storage, and in the case when elasticache is used "bucket" should be the redis URL and port. Note that one must be on an AWS VPC (e.g. using EC2) to access elasticache.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.