cache

package
Version: v0.0.0-...-9c3e309 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SetDataFrame string = "@setDataFrame"
	OnMetaData   string = "onMetaData"
)

Variables

View Source
var (
	ErrGopTooBig = fmt.Errorf("gop to big")
)

Functions

This section is empty.

Types

type Cache

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

func NewCache

func NewCache() *Cache

func (*Cache) Send

func (cache *Cache) Send(w av.WriteCloser) error

func (*Cache) Write

func (cache *Cache) Write(p av.Packet)

type GopCache

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

func NewGopCache

func NewGopCache(num int) *GopCache

func (*GopCache) Send

func (gopCache *GopCache) Send(w av.WriteCloser) error

func (*GopCache) Write

func (gopCache *GopCache) Write(p *av.Packet)

type SpecialCache

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

func NewSpecialCache

func NewSpecialCache() *SpecialCache

func (*SpecialCache) Send

func (specialCache *SpecialCache) Send(w av.WriteCloser) error

func (*SpecialCache) Write

func (specialCache *SpecialCache) Write(p *av.Packet)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL