tls_v1

package
v0.0.0-...-e7eda78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tls_v1_tls_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Chat.ProtoReflect.Descriptor instead.

func (*Chat) GetMessages

func (x *Chat) GetMessages() []string

func (*Chat) ProtoMessage

func (*Chat) ProtoMessage()

func (*Chat) ProtoReflect

func (x *Chat) ProtoReflect() protoreflect.Message

func (*Chat) Reset

func (x *Chat) Reset()

func (*Chat) String

func (x *Chat) String() string

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 TlsGsrv_ChatInRoomClient

type TlsGsrv_ChatInRoomClient interface {
	Send(*anypb.Any) error
	Recv() (*anypb.Any, error)
	grpc.ClientStream
}

type TlsGsrv_ChatInRoomServer

type TlsGsrv_ChatInRoomServer interface {
	Send(*anypb.Any) error
	Recv() (*anypb.Any, error)
	grpc.ServerStream
}

type UnimplementedTlsGsrvServer

type UnimplementedTlsGsrvServer struct {
}

UnimplementedTlsGsrvServer must be embedded to have forward compatible implementations.

func (UnimplementedTlsGsrvServer) ChatInRoom

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL