Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConflict = errors.New("conflict")
View Source
var ErrNotFound = errors.New("not found")
View Source
var ErrUnexpected = errors.New("unexpected")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Create(ctx context.Context, url, auth, groupId, userId string, at time.Time) (err error) Read(ctx context.Context, url string) (str model.Stream, err error) Delete(ctx context.Context, url, groupId, userId string) (err error) List(ctx context.Context, limit uint32, filter model.Filter, order model.Order, cursor string) (urls []string, err error) }
func NewService ¶
func NewServiceMock ¶
func NewServiceMock() Service
Click to show internal directories.
Click to hide internal directories.