Documentation ¶
Index ¶
- Variables
- type Ctrl
- func (ctl Ctrl) CreatePrivateMessage(ctx context.Context, senderID model.UserID, receiverIDs []model.UserID, ...) ([]pm.PrivateMessage, error)
- func (ctl Ctrl) UpdateEpisodeCollection(ctx context.Context, u auth.Auth, episodeID model.EpisodeID, ...) error
- func (ctl Ctrl) UpdateEpisodesCollection(ctx context.Context, u auth.Auth, subjectID model.SubjectID, ...) error
- func (ctl Ctrl) UpdateSubjectCollection(ctx context.Context, u auth.Auth, subjectID model.SubjectID, ...) error
- type UpdateCollectionRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidInput = errors.New("invalid input")
View Source
var ErrPmBlocked = errors.New("have been blocked")
View Source
var ErrPmNotAFriend = errors.New("not a friend to some receivers")
View Source
var ErrPmNotAllReceiversExist = errors.New("some receivers not exist")
View Source
var ErrPmReceiverReject = errors.New("some receivers reject private message")
Functions ¶
This section is empty.
Types ¶
type Ctrl ¶
type Ctrl struct {
// contains filtered or unexported fields
}
func (Ctrl) CreatePrivateMessage ¶
func (Ctrl) UpdateEpisodeCollection ¶
func (ctl Ctrl) UpdateEpisodeCollection( ctx context.Context, u auth.Auth, episodeID model.EpisodeID, t collection.EpisodeCollection, ) error
func (Ctrl) UpdateEpisodesCollection ¶
Click to show internal directories.
Click to hide internal directories.