Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInternal = errors.New("internal failure")
View Source
var ErrInvalid = errors.New("invalid request")
View Source
var ErrLimitReached = errors.New("own interest limit reached")
View Source
var ErrNoAuth = errors.New("unauthenticated request")
View Source
var ErrNotFound = errors.New("interest not found")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Create(ctx context.Context, groupId, userId string, subData interest.Data) (id string, err error) Read(ctx context.Context, groupId, userId, subId string) (subData interest.Data, err error) Delete(ctx context.Context, groupId, userId, subId string) (err error) Search(ctx context.Context, groupId, userId string, q interest.Query, cursor condition.Cursor) (page []*apiGrpc.Interest, err error) }
Click to show internal directories.
Click to hide internal directories.