stats

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stats

type Stats struct {
	// use pointers to avoid a crash on 32bit platforms
	// https://github.com/golang/go/issues/9959
	CountClients            *int64
	CountPublishers         *int64
	CountReaders            *int64
	CountSourcesRtsp        *int64
	CountSourcesRtspRunning *int64
	CountSourcesRtmp        *int64
	CountSourcesRtmpRunning *int64
}

Stats contains statistics.

func New

func New() *Stats

New allocates a Stats.

func (*Stats) Close

func (s *Stats) Close()

Close closes a stats.

Jump to

Keyboard shortcuts

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