Versions in this module Expand all Collapse all v0 v0.1.0 Feb 21, 2018 Changes in this version + type Resource struct + Cache string + CacheExpiryMs int + Credential string + ParsedURL *url.URL + URL string + func NewResource(Params ...interface{}) *Resource + func (r *Resource) Cachable() bool + func (r *Resource) Clone() *Resource + func (r *Resource) CredentialURL(username, password string) string + func (r *Resource) Decode(target interface{}, decoderFactory toolbox.DecoderFactory) error + func (r *Resource) DirectoryPath() string + func (r *Resource) Download() ([]byte, error) + func (r *Resource) DownloadText() (string, error) + func (r *Resource) HasChanged() (changed bool, err error) + func (r *Resource) Host() string + func (r *Resource) JSONDecode(target interface{}) error + func (r *Resource) LoadCredential(errorIfEmpty bool) (string, string, error) + func (r *Resource) Port() string + func (r *Resource) Rename(name string) (err error) + func (r *Resource) YAMLDecode(target interface{}) error