Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a lightweight HTTP metrics server that tracks per-viewer stats.
func (*Server) ListenAndServe ¶
ListenAndServe starts the HTTP server and blocks until ctx is cancelled.
func (*Server) Subscriber ¶
func (s *Server) Subscriber() func(vp9_stats.Period, vp9_stats.VideoQualitySample)
Subscriber returns a func compatible with vp9_stats.Publisher.AddSubscriber.
Click to show internal directories.
Click to hide internal directories.