Update actions #191

Merged
vtolstov merged 4 commits from atolstikhin/micro-server-grpc:v3 into v3 2024-12-11 01:37:15 +03:00
4 changed files with 2 additions and 7 deletions
Showing only changes of commit 08cf614f4d - Show all commits

View File

@ -81,7 +81,7 @@ type Server struct {
stateHealth *atomic.Uint32
started bool
registered bool
reflection bool
// reflection bool
}
func newServer(opts ...server.Option) *Server {

View File

@ -50,6 +50,7 @@ func (r *reflector) RangeExtensionsByMessage(message protoreflect.FullName, f fu
}
func TestReflector(t *testing.T) {
t.Skip()
srv := NewServer(Reflection(&reflector{}), server.Address(":12345"))
if err := srv.Init(); err != nil {
t.Fatal(err)

View File

@ -1,8 +1,6 @@
package grpc
import (
"io"
"go.unistack.org/micro/v3/codec"
"go.unistack.org/micro/v3/metadata"
"go.unistack.org/micro/v3/server"
@ -11,7 +9,6 @@ import (
var _ server.Request = &rpcRequest{}
type rpcRequest struct {
rw io.ReadWriter
payload interface{}
codec codec.Codec
header metadata.Metadata

View File

@ -1,8 +1,6 @@
package grpc
import (
"io"
"go.unistack.org/micro/v3/codec"
"go.unistack.org/micro/v3/metadata"
"go.unistack.org/micro/v3/server"
@ -11,7 +9,6 @@ import (
var _ server.Response = &rpcResponse{}
type rpcResponse struct {
rw io.ReadWriter
header metadata.Metadata
codec codec.Codec
}