Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInternal = errors.New("events: internal failure")
ErrInternal indicates some unexpected internal failure.
View Source
var ErrInvalid = errors.New("events: invalid request")
Functions ¶
func NewPublisherMock ¶
func NewPublisherMock() model.MessagesWriter
Types ¶
type Service ¶
type Service interface { SetStream(ctx context.Context, topic string, limit uint32) (err error) NewPublisher(ctx context.Context, topic string) (p model.MessagesWriter, err error) }
func NewService ¶
func NewService(client ServiceClient) Service
func NewServiceMock ¶
func NewServiceMock() Service
Click to show internal directories.
Click to hide internal directories.