Documentation
¶
Index ¶
- Constants
- func Hash(prefix string, data []byte) string
- func HashedID(id string) string
- func LocalNodeID() (string, error)
- func Marshal[T livekit.Guid](id T) livekit.GuidBlock
- func MarshalAppend[T livekit.Guid](b []byte, id T) []byte
- func New(prefix string) string
- func Unmarshal[T livekit.Guid](b livekit.GuidBlock) T
Constants ¶
View Source
const ( RoomPrefix = "RM_" NodePrefix = "ND_" ParticipantPrefix = "PA_" TrackPrefix = "TR_" APIKeyPrefix = "API" EgressPrefix = "EG_" IngressPrefix = "IN_" SIPTrunkPrefix = "ST_" SIPDispatchRulePrefix = "SDR_" SIPCallPrefix = "SCL_" SIPTransferPrefix = "STR_" RPCPrefix = "RPC_" WHIPResourcePrefix = "WH_" RTMPResourcePrefix = "RT_" URLResourcePrefix = "UR_" AgentPrefix = "A_" AgentWorkerPrefix = "AW_" AgentJobPrefix = "AJ_" AgentDispatchPrefix = "AD_" CloudAgentPrefix = "CA_" CloudAgentRegionPrefix = "CAR_" CloudAgentVersionPrefix = "CAV_" CloudAgentSecretPrefix = "CAS_" CloudAgentWorkerPrefix = "CAW_" )
View Source
const Size = 12
Variables ¶
This section is empty.
Functions ¶
func LocalNodeID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.