type handlerServer …
func (s *handlerServer) registerWithMux(mux *http.ServeMux) { … }
func (h *handlerServer) GetPageInfo(abspath, relpath string, mode PageInfoMode, goos, goarch string) *PageInfo { … }
func (h *handlerServer) includePath(path string, mode PageInfoMode) (r bool) { … }
type funcsByName …
func (s funcsByName) Len() int { … }
func (s funcsByName) Swap(i, j int) { … }
func (s funcsByName) Less(i, j int) bool { … }
func (h *handlerServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { … }
func (h *handlerServer) corpusInitialized() bool { … }
type PageInfoMode …
const PageInfoModeQueryString …
const NoFiltering …
const AllMethods …
const ShowSource …
const FlatDir …
const NoTypeAssoc …
var modeNames …
func modeQueryString(mode PageInfoMode) string { … }
func (m PageInfoMode) names() []string { … }
func (p *Presentation) GetPageInfoMode(r *http.Request) PageInfoMode { … }
func poorMansImporter(imports map[string]*ast.Object, path string) (*ast.Object, error) { … }
func globalNames(pkg *ast.Package) map[string]bool { … }
func collectExamples(c *Corpus, pkg *ast.Package, testfiles map[string]*ast.File) []*doc.Example { … }
func addNames(names map[string]bool, decl ast.Decl) { … }
func packageExports(fset *token.FileSet, pkg *ast.Package) { … }
func applyTemplate(t *template.Template, name string, data interface{ … }
type writerCapturesErr …
func (w *writerCapturesErr) Write(p []byte) (int, error) { … }
func applyTemplateToResponseWriter(rw http.ResponseWriter, t *template.Template, data interface{ … }
func redirect(w http.ResponseWriter, r *http.Request) (redirected bool) { … }
func redirectFile(w http.ResponseWriter, r *http.Request) (redirected bool) { … }
func (p *Presentation) serveTextFile(w http.ResponseWriter, r *http.Request, abspath, relpath, title string) { … }
func formatGoSource(buf *bytes.Buffer, text []byte, links []analysis.Link, pattern string, selection Selection) { … }
func (p *Presentation) serveDirectory(w http.ResponseWriter, r *http.Request, abspath, relpath string) { … }
func (p *Presentation) ServeHTMLDoc(w http.ResponseWriter, r *http.Request, abspath, relpath string) { … }
func (p *Presentation) ServeFile(w http.ResponseWriter, r *http.Request) { … }
func (p *Presentation) serveFile(w http.ResponseWriter, r *http.Request) { … }
func (p *Presentation) ServeText(w http.ResponseWriter, text []byte) { … }
func marshalJSON(x interface{ … }