interfaces

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: AGPL-3.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics interface {
	RTCMetrics() rtc.Metrics
	Handler() http.Handler
	IncWebSocketEvent(direction, evType string)
	IncWebSocketConn()
	DecWebSocketConn()
	IncClusterEvent(evType string)
	IncStoreOp(op string)
	ObserveClusterMutexGrabTime(group string, elapsed float64)
	ObserveClusterMutexLockedTime(group string, elapsed float64)
	IncClusterMutexLockRetries(group string)
	ObserveLiveCaptionsAudioLen(elapsed float64)
	IncLiveCaptionsWindowDropped()
	IncLiveCaptionsTranscriberBufFull()
	IncLiveCaptionsPktPayloadChBufFull()
	ObserveAppHandlersTime(handler string, elapsed float64)
	ObserveStoreMethodsTime(method string, elapsed float64)
	RegisterDBMetrics(db *sql.DB, name string)
	IncClientICECandidatePairs(p public.ClientICECandidatePairMetricPayload)
}

type RTCDClient added in v0.28.0

type RTCDClient interface {
	Connected() bool
	Send(msg rtcd.ClientMessage) error
	Close() error
	GetVersionInfo() (rtcd.VersionInfo, error)
	GetSystemInfo() (rtcd.SystemInfo, error)
	GetSession(callID, sessionID string) (rtc.SessionConfig, int, error)
	GetSessions(callID string) ([]rtc.SessionConfig, int, error)
}

type Store added in v0.27.0

type Store interface {
	Migrate(direction models.Direction, dryRun bool) error
	Close() error
	GetPost(postID string) (*model.Post, error)
	UpdateFileInfoPostID(fileID, channelID, postID string) error
	KVGet(pluginID, key string, fromWriter bool) ([]byte, error)
}

type StoreMetrics added in v0.27.0

type StoreMetrics interface {
	IncStoreOp(op string)
	ObserveStoreMethodsTime(method string, elapsed float64)
}

Jump to

Keyboard shortcuts

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