This commit is contained in:
crusader 2018-05-11 14:32:35 +09:00
parent ded582f23f
commit 9ce368de2d

View File

@ -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)
}