Documentation ¶
Overview ¶
Package frames contains an implementation of the SPDY/2 frames.
Index ¶
- func ReadFrame(reader *bufio.Reader) (frame common.Frame, err error)
- type DATA
- func (frame *DATA) Compress(comp common.Compressor) error
- func (frame *DATA) Decompress(decomp common.Decompressor) error
- func (frame *DATA) Name() string
- func (frame *DATA) ReadFrom(reader io.Reader) (int64, error)
- func (frame *DATA) String() string
- func (frame *DATA) WriteTo(writer io.Writer) (int64, error)
- type GOAWAY
- func (frame *GOAWAY) Compress(comp common.Compressor) error
- func (frame *GOAWAY) Decompress(decomp common.Decompressor) error
- func (frame *GOAWAY) Name() string
- func (frame *GOAWAY) ReadFrom(reader io.Reader) (int64, error)
- func (frame *GOAWAY) String() string
- func (frame *GOAWAY) WriteTo(writer io.Writer) (int64, error)
- type HEADERS
- func (frame *HEADERS) Compress(com common.Compressor) error
- func (frame *HEADERS) Decompress(decom common.Decompressor) error
- func (frame *HEADERS) Name() string
- func (frame *HEADERS) ReadFrom(reader io.Reader) (int64, error)
- func (frame *HEADERS) String() string
- func (frame *HEADERS) WriteTo(writer io.Writer) (int64, error)
- type NOOP
- func (frame *NOOP) Compress(comp common.Compressor) error
- func (frame *NOOP) Decompress(decomp common.Decompressor) error
- func (frame *NOOP) Name() string
- func (frame *NOOP) ReadFrom(reader io.Reader) (int64, error)
- func (frame *NOOP) String() string
- func (frame *NOOP) WriteTo(writer io.Writer) (int64, error)
- type PING
- func (frame *PING) Compress(comp common.Compressor) error
- func (frame *PING) Decompress(decomp common.Decompressor) error
- func (frame *PING) Name() string
- func (frame *PING) ReadFrom(reader io.Reader) (int64, error)
- func (frame *PING) String() string
- func (frame *PING) WriteTo(writer io.Writer) (int64, error)
- type RST_STREAM
- func (frame *RST_STREAM) Compress(comp common.Compressor) error
- func (frame *RST_STREAM) Decompress(decomp common.Decompressor) error
- func (frame *RST_STREAM) Error() string
- func (frame *RST_STREAM) Name() string
- func (frame *RST_STREAM) ReadFrom(reader io.Reader) (int64, error)
- func (frame *RST_STREAM) String() string
- func (frame *RST_STREAM) WriteTo(writer io.Writer) (int64, error)
- type SETTINGS
- func (frame *SETTINGS) Add(Flags common.Flags, id uint32, value uint32)
- func (frame *SETTINGS) Compress(comp common.Compressor) error
- func (frame *SETTINGS) Decompress(decomp common.Decompressor) error
- func (frame *SETTINGS) Name() string
- func (frame *SETTINGS) ReadFrom(reader io.Reader) (int64, error)
- func (frame *SETTINGS) String() string
- func (frame *SETTINGS) WriteTo(writer io.Writer) (int64, error)
- type SYN_REPLY
- func (frame *SYN_REPLY) Compress(com common.Compressor) error
- func (frame *SYN_REPLY) Decompress(decom common.Decompressor) error
- func (frame *SYN_REPLY) Name() string
- func (frame *SYN_REPLY) ReadFrom(reader io.Reader) (int64, error)
- func (frame *SYN_REPLY) String() string
- func (frame *SYN_REPLY) WriteTo(writer io.Writer) (int64, error)
- type SYN_STREAM
- func (frame *SYN_STREAM) Compress(com common.Compressor) error
- func (frame *SYN_STREAM) Decompress(decom common.Decompressor) error
- func (frame *SYN_STREAM) Name() string
- func (frame *SYN_STREAM) ReadFrom(reader io.Reader) (int64, error)
- func (frame *SYN_STREAM) String() string
- func (frame *SYN_STREAM) WriteTo(writer io.Writer) (int64, error)
- type WINDOW_UPDATE
- func (frame *WINDOW_UPDATE) Compress(comp common.Compressor) error
- func (frame *WINDOW_UPDATE) Decompress(decomp common.Decompressor) error
- func (frame *WINDOW_UPDATE) Name() string
- func (frame *WINDOW_UPDATE) ReadFrom(reader io.Reader) (int64, error)
- func (frame *WINDOW_UPDATE) String() string
- func (frame *WINDOW_UPDATE) WriteTo(writer io.Writer) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DATA ¶
func (*DATA) Decompress ¶
func (frame *DATA) Decompress(decomp common.Decompressor) error
type GOAWAY ¶
func (*GOAWAY) Decompress ¶
func (frame *GOAWAY) Decompress(decomp common.Decompressor) error
type HEADERS ¶
type HEADERS struct { Flags common.Flags StreamID common.StreamID Header http.Header // contains filtered or unexported fields }
func (*HEADERS) Decompress ¶
func (frame *HEADERS) Decompress(decom common.Decompressor) error
type NOOP ¶
type NOOP struct{}
func (*NOOP) Decompress ¶
func (frame *NOOP) Decompress(decomp common.Decompressor) error
type PING ¶
type PING struct {
PingID uint32
}
func (*PING) Decompress ¶
func (frame *PING) Decompress(decomp common.Decompressor) error
type RST_STREAM ¶
type RST_STREAM struct { StreamID common.StreamID Status common.StatusCode }
func (*RST_STREAM) Compress ¶
func (frame *RST_STREAM) Compress(comp common.Compressor) error
func (*RST_STREAM) Decompress ¶
func (frame *RST_STREAM) Decompress(decomp common.Decompressor) error
func (*RST_STREAM) Error ¶
func (frame *RST_STREAM) Error() string
func (*RST_STREAM) Name ¶
func (frame *RST_STREAM) Name() string
func (*RST_STREAM) String ¶
func (frame *RST_STREAM) String() string
type SETTINGS ¶
func (*SETTINGS) Decompress ¶
func (frame *SETTINGS) Decompress(decomp common.Decompressor) error
type SYN_REPLY ¶
type SYN_REPLY struct { Flags common.Flags StreamID common.StreamID Header http.Header // contains filtered or unexported fields }
func (*SYN_REPLY) Decompress ¶
func (frame *SYN_REPLY) Decompress(decom common.Decompressor) error
type SYN_STREAM ¶
type SYN_STREAM struct { Flags common.Flags StreamID common.StreamID AssocStreamID common.StreamID Priority common.Priority Header http.Header // contains filtered or unexported fields }
func (*SYN_STREAM) Compress ¶
func (frame *SYN_STREAM) Compress(com common.Compressor) error
func (*SYN_STREAM) Decompress ¶
func (frame *SYN_STREAM) Decompress(decom common.Decompressor) error
func (*SYN_STREAM) Name ¶
func (frame *SYN_STREAM) Name() string
func (*SYN_STREAM) String ¶
func (frame *SYN_STREAM) String() string
type WINDOW_UPDATE ¶
func (*WINDOW_UPDATE) Compress ¶
func (frame *WINDOW_UPDATE) Compress(comp common.Compressor) error
func (*WINDOW_UPDATE) Decompress ¶
func (frame *WINDOW_UPDATE) Decompress(decomp common.Decompressor) error
func (*WINDOW_UPDATE) Name ¶
func (frame *WINDOW_UPDATE) Name() string
func (*WINDOW_UPDATE) ReadFrom ¶
func (frame *WINDOW_UPDATE) ReadFrom(reader io.Reader) (int64, error)
func (*WINDOW_UPDATE) String ¶
func (frame *WINDOW_UPDATE) String() string
Click to show internal directories.
Click to hide internal directories.