ing
This commit is contained in:
parent
5f80794d28
commit
2199c4b37f
21
Gopkg.lock
generated
21
Gopkg.lock
generated
|
@ -30,23 +30,24 @@
|
||||||
packages = [
|
packages = [
|
||||||
".",
|
".",
|
||||||
"client",
|
"client",
|
||||||
|
"codec",
|
||||||
"protocol",
|
"protocol",
|
||||||
"protocol/json",
|
"protocol/json",
|
||||||
"registry"
|
"registry"
|
||||||
]
|
]
|
||||||
revision = "dcc3af07239b3f6fcbae3529bcb52c522b02053d"
|
revision = "b834f36e2bdb7e5ff93e83ab165ee0310895f6e7"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "git.loafle.net/commons/server-go"
|
name = "git.loafle.net/commons/server-go"
|
||||||
packages = [
|
packages = [
|
||||||
".",
|
".",
|
||||||
"client",
|
|
||||||
"socket",
|
"socket",
|
||||||
|
"socket/client",
|
||||||
"socket/web",
|
"socket/web",
|
||||||
"socket/web/client"
|
"socket/web/client"
|
||||||
]
|
]
|
||||||
revision = "1cae23cf7819d56fd399346a1dc30af6a82d1a93"
|
revision = "20a63b3de6efdc0942bfb4be21ddc64e2b76f59d"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
@ -125,7 +126,7 @@
|
||||||
"client",
|
"client",
|
||||||
"service"
|
"service"
|
||||||
]
|
]
|
||||||
revision = "19dfca7aa5de04aceec13b8f81d05a40c7a25254"
|
revision = "00e635a7b9255a8dd12a0f305cc1a731a56e38e1"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
@ -156,8 +157,8 @@
|
||||||
"gzip",
|
"gzip",
|
||||||
"zlib"
|
"zlib"
|
||||||
]
|
]
|
||||||
revision = "6c8db69c4b49dd4df1fff66996cf556176d0b9bf"
|
revision = "5fb1f31b0a61e9858f12f39266e059848a5f1cea"
|
||||||
version = "v1.2.1"
|
version = "v1.3.0"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
name = "github.com/klauspost/cpuid"
|
name = "github.com/klauspost/cpuid"
|
||||||
|
@ -165,12 +166,6 @@
|
||||||
revision = "ae7887de9fa5d2db4eaa8174a7eff2c1ac00f2da"
|
revision = "ae7887de9fa5d2db4eaa8174a7eff2c1ac00f2da"
|
||||||
version = "v1.1"
|
version = "v1.1"
|
||||||
|
|
||||||
[[projects]]
|
|
||||||
name = "github.com/klauspost/crc32"
|
|
||||||
packages = ["."]
|
|
||||||
revision = "cb6bfca970f6908083f26f39a79009d608efd5cd"
|
|
||||||
version = "v1.1"
|
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
name = "github.com/valyala/fasthttp"
|
name = "github.com/valyala/fasthttp"
|
||||||
packages = [
|
packages = [
|
||||||
|
@ -214,6 +209,6 @@
|
||||||
[solve-meta]
|
[solve-meta]
|
||||||
analyzer-name = "dep"
|
analyzer-name = "dep"
|
||||||
analyzer-version = 1
|
analyzer-version = 1
|
||||||
inputs-digest = "949413a37e87bad8efbc0265b07fe18253c19fa0c8e995f701a7216ff86d7827"
|
inputs-digest = "12ab5cc531a49f249a17468f59625f3755136cc50b443c3491f5ca4d62a91b48"
|
||||||
solver-name = "gps-cdcl"
|
solver-name = "gps-cdcl"
|
||||||
solver-version = 1
|
solver-version = 1
|
||||||
|
|
|
@ -3,7 +3,7 @@ package client
|
||||||
import (
|
import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
csc "git.loafle.net/commons/server-go/client"
|
cssc "git.loafle.net/commons/server-go/socket/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 csc.ClientCtx) error {
|
func (ch *ClientHandlers) Init(clientCtx cssc.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 csc.ClientCtx) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ch *ClientHandlers) OnStart(clientCtx csc.ClientCtx) error {
|
func (ch *ClientHandlers) OnStart(clientCtx cssc.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 csc.ClientCtx) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ch *ClientHandlers) OnStop(clientCtx csc.ClientCtx) {
|
func (ch *ClientHandlers) OnStop(clientCtx cssc.ClientCtx) {
|
||||||
|
|
||||||
ch.ClientHandlers.OnStop(clientCtx)
|
ch.ClientHandlers.OnStop(clientCtx)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ch *ClientHandlers) Destroy(clientCtx csc.ClientCtx) {
|
func (ch *ClientHandlers) Destroy(clientCtx cssc.ClientCtx) {
|
||||||
|
|
||||||
ch.ClientHandlers.Destroy(clientCtx)
|
ch.ClientHandlers.Destroy(clientCtx)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user