registry

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionRegistry

type SessionRegistry struct {
	// contains filtered or unexported fields
}

func Get

func Get() *SessionRegistry

func NewSessionRegistry

func NewSessionRegistry() *SessionRegistry

func (*SessionRegistry) Add

func (r *SessionRegistry) Add(ctx context.Context, liveId int) error

func (*SessionRegistry) AddAll

func (r *SessionRegistry) AddAll(ctx context.Context, liveIds []int)

func (*SessionRegistry) Exists

func (r *SessionRegistry) Exists(sessionId int) bool

func (*SessionRegistry) Get

func (r *SessionRegistry) Get(sessionId int) (*lives.LiveSession, bool)

func (*SessionRegistry) IsRecording

func (r *SessionRegistry) IsRecording(sessionId int) bool

func (*SessionRegistry) RecordingCount

func (r *SessionRegistry) RecordingCount() int

func (*SessionRegistry) Remove

func (r *SessionRegistry) Remove(ctx context.Context, sessionId int) error

Jump to

Keyboard shortcuts

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