nextcloudTalk

package
v0.0.0-...-cc1490b Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*InChat) GetMessage

func (m *InChat) GetMessage() string

func (*InChat) GetToken

func (m *InChat) GetToken() string

func (*InChat) ProtoMessage

func (*InChat) ProtoMessage()

func (*InChat) Reset

func (m *InChat) Reset()

func (*InChat) String

func (m *InChat) String() string

func (*InChat) XXX_DiscardUnknown

func (m *InChat) XXX_DiscardUnknown()

func (*InChat) XXX_Marshal

func (m *InChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InChat) XXX_Merge

func (m *InChat) XXX_Merge(src proto.Message)

func (*InChat) XXX_Size

func (m *InChat) XXX_Size() int

func (*InChat) XXX_Unmarshal

func (m *InChat) XXX_Unmarshal(b []byte) error

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.

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) Descriptor() ([]byte, []int)

func (*OutChat) GetActorDisplayName

func (m *OutChat) GetActorDisplayName() string

func (*OutChat) GetActorID

func (m *OutChat) GetActorID() string

func (*OutChat) GetID

func (m *OutChat) GetID() int64

func (*OutChat) GetMessage

func (m *OutChat) GetMessage() string

func (*OutChat) GetToken

func (m *OutChat) GetToken() string

func (*OutChat) ProtoMessage

func (*OutChat) ProtoMessage()

func (*OutChat) Reset

func (m *OutChat) Reset()

func (*OutChat) String

func (m *OutChat) String() string

func (*OutChat) XXX_DiscardUnknown

func (m *OutChat) XXX_DiscardUnknown()

func (*OutChat) XXX_Marshal

func (m *OutChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutChat) XXX_Merge

func (m *OutChat) XXX_Merge(src proto.Message)

func (*OutChat) XXX_Size

func (m *OutChat) XXX_Size() int

func (*OutChat) XXX_Unmarshal

func (m *OutChat) XXX_Unmarshal(b []byte) error

type UnimplementedNextcloudTalkServer

type UnimplementedNextcloudTalkServer struct {
}

UnimplementedNextcloudTalkServer can be embedded to have forward compatible implementations.

func (*UnimplementedNextcloudTalkServer) ReadChats

func (*UnimplementedNextcloudTalkServer) WriteChat

Jump to

Keyboard shortcuts

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