playback

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package playback contains the playback server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Address        string
	Encryption     bool
	ServerKey      string
	ServerCert     string
	AllowOrigin    string
	TrustedProxies conf.IPNetworks
	ReadTimeout    conf.StringDuration
	PathConfs      map[string]*conf.Path
	AuthManager    serverAuthManager
	Parent         logger.Writer
	// contains filtered or unexported fields
}

Server is the playback server.

func (*Server) Close

func (s *Server) Close()

Close closes Server.

func (*Server) Initialize

func (s *Server) Initialize() error

Initialize initializes Server.

func (*Server) Log

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

Log implements logger.Writer.

func (*Server) ReloadPathConfs

func (s *Server) ReloadPathConfs(pathConfs map[string]*conf.Path)

ReloadPathConfs is called by core.Core.

Jump to

Keyboard shortcuts

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