diff --git a/client/client-handler.go b/client/client-handler.go index deff280..273a7df 100644 --- a/client/client-handler.go +++ b/client/client-handler.go @@ -3,7 +3,7 @@ package client import ( "sync/atomic" - crc "git.loafle.net/commons/rpc-go/client" + csc "git.loafle.net/commons/server-go/client" occ "git.loafle.net/overflow/container-go/client" ) @@ -17,7 +17,7 @@ type ClientHandlers struct { validated atomic.Value } -func (ch *ClientHandlers) Init(clientCtx crc.ClientCtx) error { +func (ch *ClientHandlers) Init(clientCtx csc.ClientCtx) error { if err := ch.ClientHandlers.Init(clientCtx); nil != err { return err } @@ -25,7 +25,7 @@ func (ch *ClientHandlers) Init(clientCtx crc.ClientCtx) error { return nil } -func (ch *ClientHandlers) OnStart(clientCtx crc.ClientCtx) error { +func (ch *ClientHandlers) OnStart(clientCtx csc.ClientCtx) error { if err := ch.ClientHandlers.OnStart(clientCtx); nil != err { return err } @@ -33,12 +33,12 @@ func (ch *ClientHandlers) OnStart(clientCtx crc.ClientCtx) error { return nil } -func (ch *ClientHandlers) OnStop(clientCtx crc.ClientCtx) { +func (ch *ClientHandlers) OnStop(clientCtx csc.ClientCtx) { ch.ClientHandlers.OnStop(clientCtx) } -func (ch *ClientHandlers) Destroy(clientCtx crc.ClientCtx) { +func (ch *ClientHandlers) Destroy(clientCtx csc.ClientCtx) { ch.ClientHandlers.Destroy(clientCtx) }