Skip to content

Commit 6b0e8d8

Browse files
authored
feat: add agent builder guid prefixes (#1252)
1 parent 16ec4db commit 6b0e8d8

File tree

1 file changed

+30
-28
lines changed

1 file changed

+30
-28
lines changed

utils/guid/id.go

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -35,34 +35,36 @@ import (
3535
const Size = 12
3636

3737
const (
38-
RoomPrefix = "RM_"
39-
NodePrefix = "ND_"
40-
ParticipantPrefix = "PA_"
41-
TrackPrefix = "TR_"
42-
APIKeyPrefix = "API"
43-
EgressPrefix = "EG_"
44-
IngressPrefix = "IN_"
45-
SIPTrunkPrefix = "ST_"
46-
SIPDispatchRulePrefix = "SDR_"
47-
SIPCallPrefix = "SCL_"
48-
SIPTransferPrefix = "STR_"
49-
RPCPrefix = "RPC_"
50-
WHIPResourcePrefix = "WH_"
51-
RTMPResourcePrefix = "RT_"
52-
URLResourcePrefix = "UR_"
53-
SIPHostnamePrefix = "SH"
54-
AgentPrefix = "A_"
55-
AgentWorkerPrefix = "AW_"
56-
AgentJobPrefix = "AJ_"
57-
AgentDispatchPrefix = "AD_"
58-
CloudAgentPrefix = "CA_"
59-
CloudAgentRegionPrefix = "CAR_"
60-
CloudAgentVersionPrefix = "CAV_"
61-
CloudAgentSecretPrefix = "CAS_"
62-
CloudAgentWorkerPrefix = "CAW_"
63-
AgentGatewayPrefix = "GW_"
64-
CarrierPrefix = "CR_"
65-
PhoneNumberPrefix = "PN_"
38+
RoomPrefix = "RM_"
39+
NodePrefix = "ND_"
40+
ParticipantPrefix = "PA_"
41+
TrackPrefix = "TR_"
42+
APIKeyPrefix = "API"
43+
EgressPrefix = "EG_"
44+
IngressPrefix = "IN_"
45+
SIPTrunkPrefix = "ST_"
46+
SIPDispatchRulePrefix = "SDR_"
47+
SIPCallPrefix = "SCL_"
48+
SIPTransferPrefix = "STR_"
49+
RPCPrefix = "RPC_"
50+
WHIPResourcePrefix = "WH_"
51+
RTMPResourcePrefix = "RT_"
52+
URLResourcePrefix = "UR_"
53+
SIPHostnamePrefix = "SH"
54+
AgentPrefix = "A_"
55+
AgentWorkerPrefix = "AW_"
56+
AgentJobPrefix = "AJ_"
57+
AgentDispatchPrefix = "AD_"
58+
AgentBuilderPrefix = "AB_"
59+
AgentBuilderVersionPrefix = "ABV_"
60+
CloudAgentPrefix = "CA_"
61+
CloudAgentRegionPrefix = "CAR_"
62+
CloudAgentVersionPrefix = "CAV_"
63+
CloudAgentSecretPrefix = "CAS_"
64+
CloudAgentWorkerPrefix = "CAW_"
65+
AgentGatewayPrefix = "GW_"
66+
CarrierPrefix = "CR_"
67+
PhoneNumberPrefix = "PN_"
6668
)
6769

6870
var guidGeneratorPool = sync.Pool{

0 commit comments

Comments
 (0)