Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotMatchAnyService = errors.New("cannot match any service")
)
View Source
var (
HttpClient = &http.Client{Transport: httpTransport}
)
Functions ¶
func GetExtension ¶
GetExtension returns extension by import path.
Types ¶
type Node ¶
type Node struct { ImportPath string // Package root import path. DownloadURL string // Actual download URL can be different from import path. Value string Revision string ArchivePath string }
A Node represents a node object to be fetched from remote.
func (*Node) GetRevision ¶
GetRevision fetches revision of node from service.
Click to show internal directories.
Click to hide internal directories.