Skip to content

Commit

Permalink
feat: add online status int
Browse files Browse the repository at this point in the history
  • Loading branch information
FGadvancer committed Jul 28, 2023
1 parent 1740231 commit ad093b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion constant/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ const (
Registered = "registered"
UnRegistered = "unregistered"

Online = 1
Offline = 0

// MsgReceiveOpt.
ReceiveMessage = 0
NotReceiveMessage = 1
Expand Down Expand Up @@ -362,7 +365,7 @@ const CallbackCommand = "command"

const BatchNum = 100

//Subscribe to user constants
// Subscribe to user constants
const (
SubscriberUser = 1
Unsubscribe = 2
Expand Down

0 comments on commit ad093b7

Please sign in to comment.