mirror of
https://github.com/golang/go
synced 2024-11-18 14:14:46 -07:00
473fd854f8
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 | ||
redirect | ||
static | ||
util | ||
vfs | ||
cmdline_test.go | ||
cmdline.go | ||
corpus.go | ||
dirtrees.go | ||
format.go | ||
godoc_test.go | ||
godoc.go | ||
index_test.go | ||
index.go | ||
linkify.go | ||
meta.go | ||
page.go | ||
parser.go | ||
pres.go | ||
search.go | ||
server_test.go | ||
server.go | ||
snippet.go | ||
spec.go | ||
spot.go | ||
tab.go | ||
template.go |