Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInternal = errors.New("messages: internal failure")
ErrInternal indicates some unexpected internal failure.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { PutBatch(ctx context.Context, msgs []*pb.CloudEvent) (count uint32, err error) GetBatch(ctx context.Context, ids []string) (msgs []*pb.CloudEvent, err error) DeleteBatch(ctx context.Context, ids []string) (count uint32, err error) }
func NewService ¶
func NewService(client ServiceClient) Service
func NewServiceMock ¶
func NewServiceMock() Service
Click to show internal directories.
Click to hide internal directories.