diff --git a/client/data/socket_builders.go b/client/data/socket_builders.go index 005e906..b4830a0 100644 --- a/client/data/socket_builders.go +++ b/client/data/socket_builders.go @@ -5,16 +5,16 @@ import ( "git.loafle.net/commons_go/logging" cwfc "git.loafle.net/commons_go/websocket_fasthttp/client" - oocmn "git.loafle.net/overflow/overflow_commons_go/modules/noauthprobe" - oopar "git.loafle.net/overflow/overflow_probes/auth/rpc" + oocmp "git.loafle.net/overflow/overflow_commons_go/modules/probe" oopcc "git.loafle.net/overflow/overflow_probes/central/client" + oops "git.loafle.net/overflow/overflow_probes/service" ) -func NewSocketBuilder(napService *oopar.NoAuthProbeService) cwfc.SocketBuilder { +func NewSocketBuilder(napService *oops.NoAuthProbeService) cwfc.SocketBuilder { sb := &SocketBuilders{ napService: napService, } - sb.SocketBuilders = oopcc.NewSocketBuilder(oocmn.HTTPEntry_NoAuthProbe) + sb.SocketBuilders = oopcc.NewSocketBuilder(oocmp.HTTPEntry_NoAuthProbe) if nil == sb.SocketBuilders { return nil } @@ -25,7 +25,7 @@ func NewSocketBuilder(napService *oopar.NoAuthProbeService) cwfc.SocketBuilder { type SocketBuilders struct { *oopcc.SocketBuilders - napService *oopar.NoAuthProbeService + napService *oops.NoAuthProbeService } func (sb *SocketBuilders) SocketHandler() cwfc.SocketHandler { diff --git a/client/data/socket_handlers.go b/client/data/socket_handlers.go index bfb3378..dc6b002 100644 --- a/client/data/socket_handlers.go +++ b/client/data/socket_handlers.go @@ -8,13 +8,13 @@ import ( cwfc "git.loafle.net/commons_go/websocket_fasthttp/client" ooccn "git.loafle.net/overflow/overflow_commons_go/config/noauthprobe" oocmn "git.loafle.net/overflow/overflow_commons_go/modules/noauthprobe" - oopar "git.loafle.net/overflow/overflow_probes/auth/rpc" + oops "git.loafle.net/overflow/overflow_probes/service" ) type SocketHandlers struct { cwfc.SocketHandlers - napService *oopar.NoAuthProbeService + napService *oops.NoAuthProbeService } func (sh *SocketHandlers) OnConnect(socketContext cwfc.SocketContext, res *http.Response) { @@ -34,7 +34,7 @@ func (sh *SocketHandlers) OnDisconnect(soc cwfc.Socket) { } -func newSocketHandler(napService *oopar.NoAuthProbeService) cwfc.SocketHandler { +func newSocketHandler(napService *oops.NoAuthProbeService) cwfc.SocketHandler { return &SocketHandlers{ napService: napService, } diff --git a/client/file/socket_builders.go b/client/file/socket_builders.go index 5d22d82..aad0c90 100644 --- a/client/file/socket_builders.go +++ b/client/file/socket_builders.go @@ -5,16 +5,16 @@ import ( "git.loafle.net/commons_go/logging" cwfc "git.loafle.net/commons_go/websocket_fasthttp/client" - oocmn "git.loafle.net/overflow/overflow_commons_go/modules/noauthprobe" - oopar "git.loafle.net/overflow/overflow_probes/auth/rpc" + oocmp "git.loafle.net/overflow/overflow_commons_go/modules/probe" oopcc "git.loafle.net/overflow/overflow_probes/central/client" + oops "git.loafle.net/overflow/overflow_probes/service" ) -func NewSocketBuilder(napService *oopar.NoAuthProbeService) cwfc.SocketBuilder { +func NewSocketBuilder(napService *oops.NoAuthProbeService) cwfc.SocketBuilder { sb := &SocketBuilders{ napService: napService, } - sb.SocketBuilders = oopcc.NewSocketBuilder(oocmn.HTTPEntry_NoAuthProbe) + sb.SocketBuilders = oopcc.NewSocketBuilder(oocmp.HTTPEntry_NoAuthProbe) if nil == sb.SocketBuilders { return nil } @@ -25,7 +25,7 @@ func NewSocketBuilder(napService *oopar.NoAuthProbeService) cwfc.SocketBuilder { type SocketBuilders struct { *oopcc.SocketBuilders - napService *oopar.NoAuthProbeService + napService *oops.NoAuthProbeService } func (sb *SocketBuilders) SocketHandler() cwfc.SocketHandler { diff --git a/client/file/socket_handlers.go b/client/file/socket_handlers.go index cc2dcfb..adcfcbb 100644 --- a/client/file/socket_handlers.go +++ b/client/file/socket_handlers.go @@ -8,13 +8,13 @@ import ( cwfc "git.loafle.net/commons_go/websocket_fasthttp/client" ooccn "git.loafle.net/overflow/overflow_commons_go/config/noauthprobe" oocmn "git.loafle.net/overflow/overflow_commons_go/modules/noauthprobe" - oopar "git.loafle.net/overflow/overflow_probes/auth/rpc" + oops "git.loafle.net/overflow/overflow_probes/service" ) type SocketHandlers struct { cwfc.SocketHandlers - napService *oopar.NoAuthProbeService + napService *oops.NoAuthProbeService } func (sh *SocketHandlers) OnConnect(socketContext cwfc.SocketContext, res *http.Response) { @@ -34,7 +34,7 @@ func (sh *SocketHandlers) OnDisconnect(soc cwfc.Socket) { } -func newSocketHandler(napService *oopar.NoAuthProbeService) cwfc.SocketHandler { +func newSocketHandler(napService *oops.NoAuthProbeService) cwfc.SocketHandler { return &SocketHandlers{ napService: napService, } diff --git a/client/probe/socket_builders.go b/client/probe/socket_builders.go index f218adf..846e7dc 100644 --- a/client/probe/socket_builders.go +++ b/client/probe/socket_builders.go @@ -5,16 +5,16 @@ import ( "git.loafle.net/commons_go/logging" cwfc "git.loafle.net/commons_go/websocket_fasthttp/client" - oocmn "git.loafle.net/overflow/overflow_commons_go/modules/noauthprobe" - oopar "git.loafle.net/overflow/overflow_probes/auth/rpc" + oocmp "git.loafle.net/overflow/overflow_commons_go/modules/probe" oopcc "git.loafle.net/overflow/overflow_probes/central/client" + oops "git.loafle.net/overflow/overflow_probes/service" ) -func NewSocketBuilder(napService *oopar.NoAuthProbeService) cwfc.SocketBuilder { +func NewSocketBuilder(napService *oops.NoAuthProbeService) cwfc.SocketBuilder { sb := &SocketBuilders{ napService: napService, } - sb.SocketBuilders = oopcc.NewSocketBuilder(oocmn.HTTPEntry_NoAuthProbe) + sb.SocketBuilders = oopcc.NewSocketBuilder(oocmp.HTTPEntry_Probe) if nil == sb.SocketBuilders { return nil } @@ -25,7 +25,7 @@ func NewSocketBuilder(napService *oopar.NoAuthProbeService) cwfc.SocketBuilder { type SocketBuilders struct { *oopcc.SocketBuilders - napService *oopar.NoAuthProbeService + napService *oops.NoAuthProbeService } func (sb *SocketBuilders) SocketHandler() cwfc.SocketHandler { diff --git a/client/probe/socket_handlers.go b/client/probe/socket_handlers.go index 0123acd..fbab8fe 100644 --- a/client/probe/socket_handlers.go +++ b/client/probe/socket_handlers.go @@ -8,13 +8,13 @@ import ( cwfc "git.loafle.net/commons_go/websocket_fasthttp/client" ooccn "git.loafle.net/overflow/overflow_commons_go/config/noauthprobe" oocmn "git.loafle.net/overflow/overflow_commons_go/modules/noauthprobe" - oopar "git.loafle.net/overflow/overflow_probes/auth/rpc" + oops "git.loafle.net/overflow/overflow_probes/service" ) type SocketHandlers struct { cwfc.SocketHandlers - napService *oopar.NoAuthProbeService + napService *oops.NoAuthProbeService } func (sh *SocketHandlers) OnConnect(socketContext cwfc.SocketContext, res *http.Response) { @@ -34,7 +34,7 @@ func (sh *SocketHandlers) OnDisconnect(soc cwfc.Socket) { } -func newSocketHandler(napService *oopar.NoAuthProbeService) cwfc.SocketHandler { +func newSocketHandler(napService *oops.NoAuthProbeService) cwfc.SocketHandler { return &SocketHandlers{ napService: napService, }