Skip to content

Commit

Permalink
fix: failed to build _examples/websocket-initfunc/server/server.go (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Reimei1213 authored May 7, 2024
1 parent 1ee0fa8 commit bf49e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _examples/websocket-initfunc/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func main() {
return true
},
},
InitFunc: func(ctx context.Context, initPayload transport.InitPayload) (*transport.InitPayload, context.Context, error) {
InitFunc: func(ctx context.Context, initPayload transport.InitPayload) (context.Context, *transport.InitPayload, error) {
return webSocketInit(ctx, initPayload)
},
})
Expand Down

0 comments on commit bf49e56

Please sign in to comment.