| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
- package chat
- import (
- grpc "google.golang.org/grpc"
- )
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the grpc package it is being compiled against.
- // Requires gRPC-Go v1.32.0 or later.
- const _ = grpc.SupportPackageIsVersion7
- // ChatClient is the client API for Chat 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.
- type ChatClient interface {
- }
- type chatClient struct {
- cc grpc.ClientConnInterface
- }
- func NewChatClient(cc grpc.ClientConnInterface) ChatClient {
- return &chatClient{cc}
- }
- // ChatServer is the server API for Chat service.
- // All implementations must embed UnimplementedChatServer
- // for forward compatibility
- type ChatServer interface {
- mustEmbedUnimplementedChatServer()
- }
- // UnimplementedChatServer must be embedded to have forward compatible implementations.
- type UnimplementedChatServer struct {
- }
- func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {}
- // UnsafeChatServer may be embedded to opt out of forward compatibility for this service.
- // Use of this interface is not recommended, as added methods to ChatServer will
- // result in compilation errors.
- type UnsafeChatServer interface {
- mustEmbedUnimplementedChatServer()
- }
- func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer) {
- s.RegisterService(&Chat_ServiceDesc, srv)
- }
- // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service.
- // It's only intended for direct use with grpc.RegisterService,
- // and not to be introspected or modified (even as a copy)
- var Chat_ServiceDesc = grpc.ServiceDesc{
- ServiceName: "api.chat.Chat",
- HandlerType: (*ChatServer)(nil),
- Methods: []grpc.MethodDesc{},
- Streams: []grpc.StreamDesc{},
- Metadata: "chat.proto",
- }
|