Documentation
¶
Index ¶
- Variables
- type Ctrl
- func (ctl Ctrl) CountEpisode(ctx context.Context, subjectID model.SubjectID, epType *episode.Type) (int64, error)
- func (ctl Ctrl) CreatePrivateMessage(ctx context.Context, senderID model.UserID, receiverIDs []model.UserID, ...) ([]pm.PrivateMessage, error)
- func (ctl Ctrl) GetSubject(ctx context.Context, user auth.Auth, subjectID model.SubjectID) (model.Subject, error)
- func (ctl Ctrl) UpdateCollection(ctx context.Context, u auth.Auth, subjectID model.SubjectID, ...) 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
- 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) CountEpisode ¶
func (Ctrl) CreatePrivateMessage ¶
func (Ctrl) GetSubject ¶
func (Ctrl) UpdateCollection ¶
func (Ctrl) UpdateEpisodeCollection ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.