Documentation ¶
Overview ¶
Stores and retrieves jsfiddles in Google Storage.
Index ¶
Constants ¶
View Source
const (
JSFIDDLE_STORAGE_BUCKET = "skia-jsfiddle"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store interface { // PutCode writes the code to Google Storage. // Returns the fiddleHash. PutCode(code, fiddleType string) (string, error) // GetCode reads the code from Google Storage. // Returns the code. GetCode(hash, fiddleType string) (string, error) }
Store is used to read and write user code and media to and from Google Storage.
Click to show internal directories.
Click to hide internal directories.