Versions in this module Expand all Collapse all v5 v5.0.1 Nov 10, 2022 v5.0.0 Nov 10, 2022 Changes in this version + const MaxInitMessageSize + var File_gcMessages_proto protoreflect.FileDescriptor + type GroupChat interface + AddService func(tag string, p Processor) error + GetGroup func(groupID *id.ID) (gs.Group, bool) + GetGroups func() []*id.ID + JoinGroup func(g gs.Group) error + LeaveGroup func(groupID *id.ID) error + MakeGroup func(membership []*id.ID, name, message []byte) (gs.Group, []id.Round, RequestStatus, error) + NumGroups func() int + RemoveService func(tag string) error + ResendRequest func(groupID *id.ID) ([]id.Round, RequestStatus, error) + Send func(groupID *id.ID, tag string, message []byte) (rounds.Round, time.Time, group.MessageID, error) + func NewManager(user groupE2e, requestFunc RequestCallback, receiveFunc Processor) (GroupChat, error) + type MessageReceive struct + GroupID *id.ID + ID group.MessageID + Payload []byte + SenderID *id.ID + Timestamp time.Time + func (mr MessageReceive) String() string + type Processor interface + Process func(decryptedMsg MessageReceive, msg format.Message, ...) + type ReceiveCallback func(msg MessageReceive) + type Request struct + Created int64 + IdPreimage []byte + KeyPreimage []byte + Members []byte + Message []byte + Name []byte + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (x *Request) GetCreated() int64 + func (x *Request) GetIdPreimage() []byte + func (x *Request) GetKeyPreimage() []byte + func (x *Request) GetMembers() []byte + func (x *Request) GetMessage() []byte + func (x *Request) GetName() []byte + func (x *Request) ProtoReflect() protoreflect.Message + func (x *Request) Reset() + func (x *Request) String() string + type RequestCallback func(g gs.Group) + type RequestStatus int + const AllFail + const AllSent + const NotSent + const PartialSent + func (rs RequestStatus) Message() string + func (rs RequestStatus) String() string + type Wrapper struct + func NewWrapper(manager GroupChat) *Wrapper + func (w *Wrapper) GetGroup(groupID *id.ID) (gs.Group, bool) + func (w *Wrapper) GetGroups() []*id.ID + func (w *Wrapper) JoinGroup(grp gs.Group) error + func (w *Wrapper) LeaveGroup(groupID *id.ID) error + func (w *Wrapper) MakeGroup(membership []*id.ID, name, message []byte) (gs.Group, []id.Round, RequestStatus, error) + func (w *Wrapper) NumGroups() int + func (w *Wrapper) ResendRequest(groupID *id.ID) ([]id.Round, RequestStatus, error) + func (w *Wrapper) Send(groupID *id.ID, message []byte, tag string) (rounds.Round, time.Time, group.MessageID, error) Other modules containing this package gitlab.com/elixxir/client/v4