update for latest micro
All checks were successful
test / test (push) Successful in 2m40s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2025-01-15 12:17:26 +03:00
parent 027268df75
commit 4470cb69a2
5 changed files with 59 additions and 74 deletions

View File

@@ -3,7 +3,6 @@ package tcp
import (
"net"
"go.unistack.org/micro/v3/register"
"go.unistack.org/micro/v3/server"
)
@@ -14,7 +13,6 @@ type Handler interface {
type tcpHandler struct {
opts server.HandlerOptions
hd interface{}
eps []*register.Endpoint
maxMsgSize int
}
@@ -26,10 +24,6 @@ func (h *tcpHandler) Handler() interface{} {
return h.hd
}
func (h *tcpHandler) Endpoints() []*register.Endpoint {
return h.eps
}
func (h *tcpHandler) Options() server.HandlerOptions {
return h.opts
}