Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Identifier ¶
Identifier : Basic building block of the index.
type Storage ¶
type Storage interface { DownloadArtifactToStorage(uri string, id Identifier, codes ...int) (int, error) ServeFile(w http.ResponseWriter, r *http.Request, id Identifier) GetArtifacts() []Identifier SaveArtifact(w http.ResponseWriter, r *http.Request, id Identifier) }
Storage : Interface for the Storage Core Module
func BuildStorage ¶
BuildStorage : Returns an initialised storage based on the config key.
func NewStorageLocal ¶
NewStorageLocal : Creates a new Storage module which uses the local disk.
Click to show internal directories.
Click to hide internal directories.