Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInternal = errors.New("matches: internal failure")
ErrInternal indicates some unexpected internal failure.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Search returns a next page of basic model.Subscription data. The page offset is defined by the cursor. // Empty cursor causes the Search to start from the beginning. Search(ctx context.Context, msgId string, cursor string, limit uint32) (page []model.SubscriptionBase, err error) }
func NewService ¶
func NewService(client ServiceClient) Service
func NewServiceMock ¶
func NewServiceMock() Service
Click to show internal directories.
Click to hide internal directories.