guid

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 12

Documentation

Index

Constants

View Source
const (
	RoomPrefix            = "RM_"
	NodePrefix            = "ND_"
	ParticipantPrefix     = "PA_"
	TrackPrefix           = "TR_"
	APIKeyPrefix          = "API"
	EgressPrefix          = "EG_"
	IngressPrefix         = "IN_"
	SIPTrunkPrefix        = "ST_"
	SIPDispatchRulePrefix = "SDR_"
	SIPCallPrefix         = "SCL_"
	RPCPrefix             = "RPC_"
	WHIPResourcePrefix    = "WH_"
	RTMPResourcePrefix    = "RT_"
	URLResourcePrefix     = "UR_"
	AgentWorkerPrefix     = "AW_"
	AgentJobPrefix        = "AJ_"
)
View Source
const (
	Size = 12
)

Variables

This section is empty.

Functions

func HashedID

func HashedID(id string) string

HashedID creates a hashed ID from a unique string

func LocalNodeID

func LocalNodeID() (string, error)

func Marshal

func Marshal[T livekit.Guid](id T) livekit.GuidBlock

func New

func New(prefix string) string

func Unmarshal

func Unmarshal[T livekit.Guid](b livekit.GuidBlock) T

Types

This section is empty.

Jump to

Keyboard shortcuts

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