framereader

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrameReader

type FrameReader struct {
	Streams *Streams
	// contains filtered or unexported fields
}

FrameReader ...

func New

func New(framer *http2.Framer, paths *sync.Map) *FrameReader

New creates FrameReader

func (*FrameReader) Read

func (frameReader *FrameReader) Read(packet *models.Packet) (models.RenderModel, error)

Read ...

type Streams

type Streams struct {
	// contains filtered or unexported fields
}

Streams ...

func NewStreams

func NewStreams() *Streams

NewStreams ...

func (*Streams) Add

func (streams *Streams) Add(connectionKey string, stream *models.Stream)

Add ...

func (*Streams) Get

func (streams *Streams) Get(connectionKey string, streamID uint32) (*models.Stream, bool)

Get ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL