This commit is contained in:
crusader 2018-03-19 16:23:39 +09:00
parent 21223d3968
commit 9c9b7882be

View File

@ -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,
}
)