metrics

package
v0.0.0-...-882a99e Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package metrics contains the metrics provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	Address        string
	Encryption     bool
	ServerKey      string
	ServerCert     string
	AllowOrigin    string
	TrustedProxies conf.IPNetworks
	ReadTimeout    conf.StringDuration
	AuthManager    metricsAuthManager
	Parent         metricsParent
	// contains filtered or unexported fields
}

Metrics is a metrics provider.

func (*Metrics) Close

func (m *Metrics) Close()

Close closes Metrics.

func (*Metrics) Initialize

func (m *Metrics) Initialize() error

Initialize initializes metrics.

func (*Metrics) Log

func (m *Metrics) Log(level logger.Level, format string, args ...interface{})

Log implements logger.Writer.

func (*Metrics) SetHLSServer

func (m *Metrics) SetHLSServer(s api.HLSServer)

SetHLSServer is called by core.

func (*Metrics) SetPathManager

func (m *Metrics) SetPathManager(s api.PathManager)

SetPathManager is called by core.

func (*Metrics) SetRTMPSServer

func (m *Metrics) SetRTMPSServer(s api.RTMPServer)

SetRTMPSServer is called by core.

func (*Metrics) SetRTMPServer

func (m *Metrics) SetRTMPServer(s api.RTMPServer)

SetRTMPServer is called by core.

func (*Metrics) SetRTSPSServer

func (m *Metrics) SetRTSPSServer(s api.RTSPServer)

SetRTSPSServer is called by core.

func (*Metrics) SetRTSPServer

func (m *Metrics) SetRTSPServer(s api.RTSPServer)

SetRTSPServer is called by core.

func (*Metrics) SetSRTServer

func (m *Metrics) SetSRTServer(s api.SRTServer)

SetSRTServer is called by core.

func (*Metrics) SetWebRTCServer

func (m *Metrics) SetWebRTCServer(s api.WebRTCServer)

SetWebRTCServer is called by core.

Jump to

Keyboard shortcuts

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