docserver

package
v0.0.0-...-686c1ca Latest Latest
Warning

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

Go to latest
Published: May 12, 2015 License: GPL-2.0 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