Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_tls_v1_tls_proto protoreflect.FileDescriptor
var TlsGsrv_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tls.v1.TlsGsrv", HandlerType: (*TlsGsrvServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "ChatInRoom", Handler: _TlsGsrv_ChatInRoom_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "tls/v1/tls.proto", }
TlsGsrv_ServiceDesc is the grpc.ServiceDesc for TlsGsrv service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTlsGsrvServer ¶
func RegisterTlsGsrvServer(s grpc.ServiceRegistrar, srv TlsGsrvServer)
Types ¶
type Chat ¶
type Chat struct { Messages []string `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*Chat) Descriptor
deprecated
func (*Chat) GetMessages ¶
func (*Chat) ProtoMessage ¶
func (*Chat) ProtoMessage()
func (*Chat) ProtoReflect ¶
func (x *Chat) ProtoReflect() protoreflect.Message
type TlsGsrvClient ¶
type TlsGsrvClient interface {
ChatInRoom(ctx context.Context, opts ...grpc.CallOption) (TlsGsrv_ChatInRoomClient, error)
}
TlsGsrvClient is the client API for TlsGsrv service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTlsGsrvClient ¶
func NewTlsGsrvClient(cc grpc.ClientConnInterface) TlsGsrvClient
type TlsGsrvServer ¶
type TlsGsrvServer interface { ChatInRoom(TlsGsrv_ChatInRoomServer) error // contains filtered or unexported methods }
TlsGsrvServer is the server API for TlsGsrv service. All implementations must embed UnimplementedTlsGsrvServer for forward compatibility
type UnimplementedTlsGsrvServer ¶
type UnimplementedTlsGsrvServer struct { }
UnimplementedTlsGsrvServer must be embedded to have forward compatible implementations.
func (UnimplementedTlsGsrvServer) ChatInRoom ¶
func (UnimplementedTlsGsrvServer) ChatInRoom(TlsGsrv_ChatInRoomServer) error
type UnsafeTlsGsrvServer ¶
type UnsafeTlsGsrvServer interface {
// contains filtered or unexported methods
}
UnsafeTlsGsrvServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TlsGsrvServer will result in compilation errors.