mirror of https://github.com/golang/go.git
Running 'godoc -src' would end up with concatenated sources:
$ godoc -src github.com/bradfitz/http2 Frame
// a frameParser parses a frame given its FrameHeader and payload
// bytes. The length of payload will always equal fh.Length (which
// might be 0).
type frameParser func(fh FrameHeader, payload []byte) (Frame, error)//
A Frame is the base interface implemented by all frame types.
// Callers will generally type-assert the specific frame type:
// *HeadersFrame, *SettingsFrame, *WindowUpdateFrame, etc.
//
// Frames are only valid until the next call to Framer.ReadFrame.
type Frame interface {
Unconditionnally insert two newlines:
$ godoc -src github.com/bradfitz/http2 Frame
// a frameParser parses a frame given its FrameHeader and payload
// bytes. The length of payload will always equal fh.Length (which
// might be 0).
type frameParser func(fh FrameHeader, payload []byte) (Frame, error)
// A Frame is the base interface implemented by all frame types.
// Callers will generally type-assert the specific frame type:
// *HeadersFrame, *SettingsFrame, *WindowUpdateFrame, etc.
//
// Frames are only valid until the next call to Framer.ReadFrame.
type Frame interface {
Fixes #9726.
Change-Id: I51ee04e53d4962c890ea601125eda8fce84d6a46
Reviewed-on: https://go-review.googlesource.com/7681
Reviewed-by: Robert Griesemer <gri@golang.org>
|
||
|---|---|---|
| .. | ||
| analysis | ||
| images | ||
| callgraph.html | ||
| codewalk.html | ||
| codewalkdir.html | ||
| dirlist.html | ||
| doc.go | ||
| error.html | ||
| example.html | ||
| gen.go | ||
| godoc.html | ||
| godocs.js | ||
| implements.html | ||
| jquery.js | ||
| jquery.treeview.css | ||
| jquery.treeview.edit.js | ||
| jquery.treeview.js | ||
| makestatic.go | ||
| methodset.html | ||
| opensearch.xml | ||
| package.html | ||
| package.txt | ||
| play.js | ||
| playground.js | ||
| search.html | ||
| search.txt | ||
| searchcode.html | ||
| searchdoc.html | ||
| searchtxt.html | ||
| static.go | ||
| style.css | ||