package
Version:
v0.0.0-...-046b0b7
Opens a new window with list of versions in this module.
Published: Oct 25, 2014
License: BSD-3-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetPackage(filename string) (*mgo.GridFile, error)
GetPackage get a package
type Metadata struct {
Version float32 `json:"version,omitempty"`
Description string `json:"description"`
Install string `json:"install,omitempty"`
Run string `json:"run,omitempty"`
}
Metadata represents GridFS file metadata
type Package struct {
Filename string `json:"filename"`
Metadata Metadata `json:"metadata"`
}
Package represents GridFS file
DetailPackage detail package
NewPackage create a new package
PackageList a list of packages
ListPackages list packages
Source Files
¶
Click to show internal directories.
Click to hide internal directories.