Documentation ¶
Index ¶
- type Duplicate
- type Registry
- type RegistryImpl
- func (r *RegistryImpl) Add(request *updatepb.Request) (*Update, Duplicate, RemoveFunc)
- func (r *RegistryImpl) Clear()
- func (r *RegistryImpl) CreateOutgoingMessages(startedEventID int64) ([]*protocolpb.Message, error)
- func (r *RegistryImpl) HasPending(filterMessages []*protocolpb.Message) bool
- func (r *RegistryImpl) ProcessIncomingMessages(messages []*protocolpb.Message) error
- type RemoveFunc
- type Update
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry interface { Add(request *updatepb.Request) (*Update, Duplicate, RemoveFunc) CreateOutgoingMessages(startedEventID int64) ([]*protocolpb.Message, error) HasPending(filterMessages []*protocolpb.Message) bool ProcessIncomingMessages(messages []*protocolpb.Message) error Clear() }
type RegistryImpl ¶
func NewRegistry ¶
func NewRegistry() *RegistryImpl
func (*RegistryImpl) Add ¶
func (r *RegistryImpl) Add(request *updatepb.Request) (*Update, Duplicate, RemoveFunc)
func (*RegistryImpl) Clear ¶
func (r *RegistryImpl) Clear()
func (*RegistryImpl) CreateOutgoingMessages ¶
func (r *RegistryImpl) CreateOutgoingMessages(startedEventID int64) ([]*protocolpb.Message, error)
func (*RegistryImpl) HasPending ¶
func (r *RegistryImpl) HasPending(filterMessages []*protocolpb.Message) bool
func (*RegistryImpl) ProcessIncomingMessages ¶
func (r *RegistryImpl) ProcessIncomingMessages(messages []*protocolpb.Message) error
type RemoveFunc ¶
type RemoveFunc func()
Click to show internal directories.
Click to hide internal directories.