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 ( const (
MEMBER_SESSION SubscribeTargetType = iota MEMBER_SESSION SubscribeTargetType = iota
MEMBER_ID MEMBER
PROBE_ID PROBE
) )
var ( var (
subscribeTargetTypeID = map[SubscribeTargetType]string{ subscribeTargetTypeID = map[SubscribeTargetType]string{
MEMBER_SESSION: "MEMBER_SESSION", MEMBER_SESSION: "MEMBER_SESSION",
MEMBER_ID: "MEMBER_ID", MEMBER: "MEMBER",
PROBE_ID: "PROBE_ID", PROBE: "PROBE",
} }
subscribeTargetTypeName = map[string]SubscribeTargetType{ subscribeTargetTypeName = map[string]SubscribeTargetType{
"MEMBER_SESSION": MEMBER_SESSION, "MEMBER_SESSION": MEMBER_SESSION,
"MEMBER_ID": MEMBER_ID, "MEMBER": MEMBER,
"PROBE_ID": PROBE_ID, "PROBE": PROBE,
} }
) )