Versions in this module Expand all Collapse all v1 v1.0.0 Jan 5, 2022 Changes in this version + func RegisterNameServer(s *grpc.Server, srv NameServer) + type NameClient interface + ReqName func(ctx context.Context, in *Req, opts ...grpc.CallOption) (*Res, error) + ReqVersion func(ctx context.Context, in *Req, opts ...grpc.CallOption) (*Res, error) + func NewNameClient(cc *grpc.ClientConn) NameClient + type NameServer interface + ReqName func(context.Context, *Req) (*Res, error) + ReqVersion func(context.Context, *Req) (*Res, error) + type Req struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Req) Descriptor() ([]byte, []int) + func (*Req) ProtoMessage() + func (dst *Req) XXX_Merge(src proto.Message) + func (m *Req) GetName() string + func (m *Req) Reset() + func (m *Req) String() string + func (m *Req) XXX_DiscardUnknown() + func (m *Req) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Req) XXX_Size() int + func (m *Req) XXX_Unmarshal(b []byte) error + type Res struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Res) Descriptor() ([]byte, []int) + func (*Res) ProtoMessage() + func (dst *Res) XXX_Merge(src proto.Message) + func (m *Res) GetName() string + func (m *Res) Reset() + func (m *Res) String() string + func (m *Res) XXX_DiscardUnknown() + func (m *Res) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Res) XXX_Size() int + func (m *Res) XXX_Unmarshal(b []byte) error