Versions in this module Expand all Collapse all v0 v0.0.0 Feb 25, 2025 Changes in this version + var File_simple_proto protoreflect.FileDescriptor + var Simple_ServiceDesc = grpc.ServiceDesc + func RegisterSimpleServer(s grpc.ServiceRegistrar, srv SimpleServer) + type Req struct + Datacenter string + func (*Req) Descriptor() ([]byte, []int) + func (*Req) ProtoMessage() + func (msg *Req) MarshalBinary() ([]byte, error) + func (msg *Req) UnmarshalBinary(b []byte) error + func (x *Req) GetDatacenter() string + func (x *Req) ProtoReflect() protoreflect.Message + func (x *Req) Reset() + func (x *Req) String() string + type Resp struct + Datacenter string + ServerName string + func (*Resp) Descriptor() ([]byte, []int) + func (*Resp) ProtoMessage() + func (msg *Resp) MarshalBinary() ([]byte, error) + func (msg *Resp) UnmarshalBinary(b []byte) error + func (x *Resp) GetDatacenter() string + func (x *Resp) GetServerName() string + func (x *Resp) ProtoReflect() protoreflect.Message + func (x *Resp) Reset() + func (x *Resp) String() string + type Simple struct + DC string + Name string + func (s *Simple) Flow(_ *Req, flow Simple_FlowServer) error + func (s *Simple) Something(_ context.Context, _ *Req) (*Resp, error) + type SimpleClient interface + Flow func(ctx context.Context, in *Req, opts ...grpc.CallOption) (Simple_FlowClient, error) + Something func(ctx context.Context, in *Req, opts ...grpc.CallOption) (*Resp, error) + func NewSimpleClient(cc grpc.ClientConnInterface) SimpleClient + type SimplePanic struct + DC string + Name string + func (s *SimplePanic) Flow(_ *Req, flow Simple_FlowServer) error + func (s *SimplePanic) Something(_ context.Context, _ *Req) (*Resp, error) + type SimpleServer interface + Flow func(*Req, Simple_FlowServer) error + Something func(context.Context, *Req) (*Resp, error) + type Simple_FlowClient interface + Recv func() (*Resp, error) + type Simple_FlowServer interface + Send func(*Resp) error + type UnimplementedSimpleServer struct + func (UnimplementedSimpleServer) Flow(*Req, Simple_FlowServer) error + func (UnimplementedSimpleServer) Something(context.Context, *Req) (*Resp, error) + type UnsafeSimpleServer interface