Documentation ¶
Index ¶
- type DocServer
- func (self *DocServer) Client() *http.Client
- func (self *DocServer) Get(uri, path string) (content []byte, err error)
- func (self *DocServer) GetAuthContent(uri string, hash common.Hash) (content []byte, err error)
- func (self *DocServer) HasScheme(scheme string) bool
- func (self *DocServer) RegisterScheme(scheme string, rt http.RoundTripper)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocServer ¶
func (*DocServer) Get ¶ added in v0.9.38
Get(uri, path) downloads the document at uri, if path is non-empty it is interpreted as a filepath to which the contents are saved
func (*DocServer) GetAuthContent ¶
func (*DocServer) RegisterScheme ¶ added in v0.9.38
func (self *DocServer) RegisterScheme(scheme string, rt http.RoundTripper)
Click to show internal directories.
Click to hide internal directories.