ing
This commit is contained in:
parent
d178262d08
commit
048fbe926c
|
@ -3,7 +3,7 @@ package client
|
||||||
import (
|
import (
|
||||||
"sync/atomic"
|
"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"
|
occ "git.loafle.net/overflow/container-go/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ type ClientHandlers struct {
|
||||||
validated atomic.Value
|
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 {
|
if err := ch.ClientHandlers.Init(clientCtx); nil != err {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ func (ch *ClientHandlers) Init(clientCtx crc.ClientCtx) error {
|
||||||
return nil
|
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 {
|
if err := ch.ClientHandlers.OnStart(clientCtx); nil != err {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -33,12 +33,12 @@ func (ch *ClientHandlers) OnStart(clientCtx crc.ClientCtx) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ch *ClientHandlers) OnStop(clientCtx crc.ClientCtx) {
|
func (ch *ClientHandlers) OnStop(clientCtx csc.ClientCtx) {
|
||||||
|
|
||||||
ch.ClientHandlers.OnStop(clientCtx)
|
ch.ClientHandlers.OnStop(clientCtx)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ch *ClientHandlers) Destroy(clientCtx crc.ClientCtx) {
|
func (ch *ClientHandlers) Destroy(clientCtx csc.ClientCtx) {
|
||||||
|
|
||||||
ch.ClientHandlers.Destroy(clientCtx)
|
ch.ClientHandlers.Destroy(clientCtx)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user