Versions in this module Expand all Collapse all v1 v1.0.2 Dec 20, 2016 Changes in this version + type HTTPClient struct + DocRoot string + func New(docRoot string) (self *HTTPClient) + func (self *HTTPClient) Client() *http.Client + func (self *HTTPClient) Get(uri, path string) ([]byte, error) + func (self *HTTPClient) GetAuthContent(uri string, hash common.Hash) ([]byte, error) + func (self *HTTPClient) HasScheme(scheme string) bool + func (self *HTTPClient) RegisterScheme(scheme string, rt http.RoundTripper)