docserver

package
v0.9.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2015 License: LGPL-2.1-or-later Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocServer

type DocServer struct {
	*http.Transport
	DocRoot string
}

func New

func New(docRoot string) (self *DocServer, err error)

func (*DocServer) Client

func (self *DocServer) Client() *http.Client

func (*DocServer) GetAuthContent

func (self *DocServer) GetAuthContent(uri string, hash common.Hash) (content []byte, err error)

func (*DocServer) RegisterProtocols

func (self *DocServer) RegisterProtocols(schemes map[string]func(*DocServer) http.RoundTripper) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL