Skip to content

Commit

Permalink
修改代码
Browse files Browse the repository at this point in the history
  • Loading branch information
pangdogs committed May 8, 2024
1 parent 1a81151 commit 807f5ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/rpc/processor/forward.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ import (
type PermissionValidator = generic.DelegateFunc2[string, callpath.CallPath, bool]

// NewForwardProcessor RPC转发处理器,用于S<->G的通信
func NewForwardProcessor(mc gap.IMsgCreator, permValidator PermissionValidator, deliverService string) any {
func NewForwardProcessor(deliverService string, mc gap.IMsgCreator, permValidator PermissionValidator) any {
return &_ForwardProcessor{
encoder: codec.MakeEncoder(),
decoder: codec.MakeDecoder(mc),
permValidator: permValidator,
deliverService: deliverService,
permValidator: permValidator,
}
}

Expand All @@ -35,9 +35,9 @@ type _ForwardProcessor struct {
gate gate.IGate
encoder codec.Encoder
decoder codec.Decoder
permValidator PermissionValidator
deliverService string
multicastBCAddr string
permValidator PermissionValidator
watcher dserv.IWatcher
}

Expand Down

0 comments on commit 807f5ba

Please sign in to comment.