Documentation ¶
Overview ¶
Package metrics contains the metrics provider.
Index ¶
- type Metrics
- func (m *Metrics) Close()
- func (m *Metrics) Initialize() error
- func (m *Metrics) Log(level logger.Level, format string, args ...interface{})
- func (m *Metrics) SetHLSServer(s api.HLSServer)
- func (m *Metrics) SetPathManager(s api.PathManager)
- func (m *Metrics) SetRTMPSServer(s api.RTMPServer)
- func (m *Metrics) SetRTMPServer(s api.RTMPServer)
- func (m *Metrics) SetRTSPSServer(s api.RTSPServer)
- func (m *Metrics) SetRTSPServer(s api.RTSPServer)
- func (m *Metrics) SetSRTServer(s api.SRTServer)
- func (m *Metrics) SetWebRTCServer(s api.WebRTCServer)
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) SetHLSServer ¶
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 ¶
SetSRTServer is called by core.
func (*Metrics) SetWebRTCServer ¶
func (m *Metrics) SetWebRTCServer(s api.WebRTCServer)
SetWebRTCServer is called by core.
Click to show internal directories.
Click to hide internal directories.