🔊 Verbose logging at receive broadcasting event
This commit is contained in:
parent
3074cd93d8
commit
bede9716f1
6
.idea/workspace.xml
generated
6
.idea/workspace.xml
generated
@ -4,7 +4,7 @@
|
|||||||
<option name="autoReloadType" value="ALL" />
|
<option name="autoReloadType" value="ALL" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":bug: Fix check user exists in realm bug">
|
<list default="true" id="3fefb2c4-b6f9-466b-a523-53352e8d6f95" name="更改" comment=":loud_sound: Verbose logging at setting last seen at">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/pkg/internal/grpc/stream.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/grpc/stream.go" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/pkg/internal/grpc/stream.go" beforeDir="false" afterPath="$PROJECT_DIR$/pkg/internal/grpc/stream.go" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
@ -159,7 +159,6 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
||||||
<MESSAGE value=":sparkles: Allow access user info via numeric id" />
|
|
||||||
<MESSAGE value=":bug: Fix get user info query statement bug" />
|
<MESSAGE value=":bug: Fix get user info query statement bug" />
|
||||||
<MESSAGE value=":boom: Remove deprecated subscription API" />
|
<MESSAGE value=":boom: Remove deprecated subscription API" />
|
||||||
<MESSAGE value=":loud_sound: Verbose notifying logging" />
|
<MESSAGE value=":loud_sound: Verbose notifying logging" />
|
||||||
@ -184,7 +183,8 @@
|
|||||||
<MESSAGE value=":bug: Prevent user adding a user twice into a realm" />
|
<MESSAGE value=":bug: Prevent user adding a user twice into a realm" />
|
||||||
<MESSAGE value=":boom: Pagination fetching realm member api :bug: Fix remove realm member has no memberId path param" />
|
<MESSAGE value=":boom: Pagination fetching realm member api :bug: Fix remove realm member has no memberId path param" />
|
||||||
<MESSAGE value=":bug: Fix check user exists in realm bug" />
|
<MESSAGE value=":bug: Fix check user exists in realm bug" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value=":bug: Fix check user exists in realm bug" />
|
<MESSAGE value=":loud_sound: Verbose logging at setting last seen at" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value=":loud_sound: Verbose logging at setting last seen at" />
|
||||||
<option name="GROUP_MULTIFILE_MERGE_BY_DIRECTORY" value="true" />
|
<option name="GROUP_MULTIFILE_MERGE_BY_DIRECTORY" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="VgoProject">
|
<component name="VgoProject">
|
||||||
|
@ -9,6 +9,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func (v *App) BroadcastEvent(ctx context.Context, request *proto.EventInfo) (*proto.EventResponse, error) {
|
func (v *App) BroadcastEvent(ctx context.Context, request *proto.EventInfo) (*proto.EventResponse, error) {
|
||||||
|
log.Debug().Str("event", request.GetEvent()).
|
||||||
|
Msg("Got a broadcasting event...")
|
||||||
switch request.GetEvent() {
|
switch request.GetEvent() {
|
||||||
case "ws.client.register":
|
case "ws.client.register":
|
||||||
// No longer need update user online status
|
// No longer need update user online status
|
||||||
|
Loading…
Reference in New Issue
Block a user