diff --git a/Gopkg.lock b/Gopkg.lock index 22b54c0..99ecb2f 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -30,23 +30,24 @@ packages = [ ".", "client", + "codec", "protocol", "protocol/json", "registry" ] - revision = "dcc3af07239b3f6fcbae3529bcb52c522b02053d" + revision = "b834f36e2bdb7e5ff93e83ab165ee0310895f6e7" [[projects]] branch = "master" name = "git.loafle.net/commons/server-go" packages = [ ".", - "client", "socket", + "socket/client", "socket/web", "socket/web/client" ] - revision = "1cae23cf7819d56fd399346a1dc30af6a82d1a93" + revision = "20a63b3de6efdc0942bfb4be21ddc64e2b76f59d" [[projects]] branch = "master" @@ -120,7 +121,7 @@ "client", "service" ] - revision = "19dfca7aa5de04aceec13b8f81d05a40c7a25254" + revision = "00e635a7b9255a8dd12a0f305cc1a731a56e38e1" [[projects]] branch = "master" @@ -153,8 +154,8 @@ "gzip", "zlib" ] - revision = "6c8db69c4b49dd4df1fff66996cf556176d0b9bf" - version = "v1.2.1" + revision = "5fb1f31b0a61e9858f12f39266e059848a5f1cea" + version = "v1.3.0" [[projects]] name = "github.com/klauspost/cpuid" @@ -162,12 +163,6 @@ revision = "ae7887de9fa5d2db4eaa8174a7eff2c1ac00f2da" version = "v1.1" -[[projects]] - name = "github.com/klauspost/crc32" - packages = ["."] - revision = "cb6bfca970f6908083f26f39a79009d608efd5cd" - version = "v1.1" - [[projects]] name = "github.com/pmezard/go-difflib" packages = ["difflib"] @@ -232,7 +227,7 @@ "poly1305", "ssh" ] - revision = "7f39a6fea4fe9364fb61e1def6a268a51b4f3a06" + revision = "a49355c7e3f8fe157a85be2f77e6e269a0f89602" [[projects]] name = "gopkg.in/yaml.v2" @@ -243,6 +238,6 @@ [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "97021d754c9c62c90d33dc569fc8e4a6f66459dd3f8b220910bb3fb44f90a032" + inputs-digest = "ae76ad7cbfa32a556cd58971fb563ea500b4ec4c5ba595763cd33de741c73e10" solver-name = "gps-cdcl" solver-version = 1 diff --git a/client/client-handler.go b/client/client-handler.go index 273a7df..d5fcda5 100644 --- a/client/client-handler.go +++ b/client/client-handler.go @@ -3,7 +3,7 @@ package client import ( "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" ) @@ -17,7 +17,7 @@ type ClientHandlers struct { 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 { return err } @@ -25,7 +25,7 @@ func (ch *ClientHandlers) Init(clientCtx csc.ClientCtx) error { 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 { return err } @@ -33,12 +33,12 @@ func (ch *ClientHandlers) OnStart(clientCtx csc.ClientCtx) error { return nil } -func (ch *ClientHandlers) OnStop(clientCtx csc.ClientCtx) { +func (ch *ClientHandlers) OnStop(clientCtx cssc.ClientCtx) { ch.ClientHandlers.OnStop(clientCtx) } -func (ch *ClientHandlers) Destroy(clientCtx csc.ClientCtx) { +func (ch *ClientHandlers) Destroy(clientCtx cssc.ClientCtx) { ch.ClientHandlers.Destroy(clientCtx) }