diff --git a/subscribe_message.go b/subscribe_message.go index f0499d4..a4725ee 100644 --- a/subscribe_message.go +++ b/subscribe_message.go @@ -22,21 +22,21 @@ type SubscribeTargetType int const ( MEMBER_SESSION SubscribeTargetType = iota - MEMBER_ID - PROBE_ID + MEMBER + PROBE ) var ( subscribeTargetTypeID = map[SubscribeTargetType]string{ MEMBER_SESSION: "MEMBER_SESSION", - MEMBER_ID: "MEMBER_ID", - PROBE_ID: "PROBE_ID", + MEMBER: "MEMBER", + PROBE: "PROBE", } subscribeTargetTypeName = map[string]SubscribeTargetType{ "MEMBER_SESSION": MEMBER_SESSION, - "MEMBER_ID": MEMBER_ID, - "PROBE_ID": PROBE_ID, + "MEMBER": MEMBER, + "PROBE": PROBE, } )