Documentation ¶
Index ¶
- func RegisterNextcloudTalkServer(s *grpc.Server, srv NextcloudTalkServer)
- type InChat
- func (*InChat) Descriptor() ([]byte, []int)
- func (m *InChat) GetMessage() string
- func (m *InChat) GetToken() string
- func (*InChat) ProtoMessage()
- func (m *InChat) Reset()
- func (m *InChat) String() string
- func (m *InChat) XXX_DiscardUnknown()
- func (m *InChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InChat) XXX_Merge(src proto.Message)
- func (m *InChat) XXX_Size() int
- func (m *InChat) XXX_Unmarshal(b []byte) error
- type NextcloudTalkClient
- type NextcloudTalkServer
- type NextcloudTalk_ReadChatsClient
- type NextcloudTalk_ReadChatsServer
- type OutChat
- func (*OutChat) Descriptor() ([]byte, []int)
- func (m *OutChat) GetActorDisplayName() string
- func (m *OutChat) GetActorID() string
- func (m *OutChat) GetID() int64
- func (m *OutChat) GetMessage() string
- func (m *OutChat) GetToken() string
- func (*OutChat) ProtoMessage()
- func (m *OutChat) Reset()
- func (m *OutChat) String() string
- func (m *OutChat) XXX_DiscardUnknown()
- func (m *OutChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutChat) XXX_Merge(src proto.Message)
- func (m *OutChat) XXX_Size() int
- func (m *OutChat) XXX_Unmarshal(b []byte) error
- type UnimplementedNextcloudTalkServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterNextcloudTalkServer ¶
func RegisterNextcloudTalkServer(s *grpc.Server, srv NextcloudTalkServer)
Types ¶
type InChat ¶
type InChat struct { Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"` Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InChat) Descriptor ¶
func (*InChat) GetMessage ¶
func (*InChat) ProtoMessage ¶
func (*InChat) ProtoMessage()
func (*InChat) XXX_DiscardUnknown ¶
func (m *InChat) XXX_DiscardUnknown()
func (*InChat) XXX_Marshal ¶
func (*InChat) XXX_Unmarshal ¶
type NextcloudTalkClient ¶
type NextcloudTalkClient interface { ReadChats(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (NextcloudTalk_ReadChatsClient, error) WriteChat(ctx context.Context, in *InChat, opts ...grpc.CallOption) (*empty.Empty, error) }
NextcloudTalkClient is the client API for NextcloudTalk service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNextcloudTalkClient ¶
func NewNextcloudTalkClient(cc grpc.ClientConnInterface) NextcloudTalkClient
type NextcloudTalkServer ¶
type NextcloudTalkServer interface { ReadChats(*empty.Empty, NextcloudTalk_ReadChatsServer) error WriteChat(context.Context, *InChat) (*empty.Empty, error) }
NextcloudTalkServer is the server API for NextcloudTalk service.
type NextcloudTalk_ReadChatsClient ¶
type NextcloudTalk_ReadChatsClient interface { Recv() (*OutChat, error) grpc.ClientStream }
type NextcloudTalk_ReadChatsServer ¶
type NextcloudTalk_ReadChatsServer interface { Send(*OutChat) error grpc.ServerStream }
type OutChat ¶
type OutChat struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Token string `protobuf:"bytes,2,opt,name=Token,proto3" json:"Token,omitempty"` ActorID string `protobuf:"bytes,3,opt,name=ActorID,proto3" json:"ActorID,omitempty"` ActorDisplayName string `protobuf:"bytes,4,opt,name=ActorDisplayName,proto3" json:"ActorDisplayName,omitempty"` Message string `protobuf:"bytes,5,opt,name=Message,proto3" json:"Message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OutChat) Descriptor ¶
func (*OutChat) GetActorDisplayName ¶
func (*OutChat) GetActorID ¶
func (*OutChat) GetMessage ¶
func (*OutChat) ProtoMessage ¶
func (*OutChat) ProtoMessage()
func (*OutChat) XXX_DiscardUnknown ¶
func (m *OutChat) XXX_DiscardUnknown()
func (*OutChat) XXX_Marshal ¶
func (*OutChat) XXX_Unmarshal ¶
type UnimplementedNextcloudTalkServer ¶
type UnimplementedNextcloudTalkServer struct { }
UnimplementedNextcloudTalkServer can be embedded to have forward compatible implementations.
func (*UnimplementedNextcloudTalkServer) ReadChats ¶
func (*UnimplementedNextcloudTalkServer) ReadChats(req *empty.Empty, srv NextcloudTalk_ReadChatsServer) error
Click to show internal directories.
Click to hide internal directories.