Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthUsecase ¶
type DiscussionRepository ¶
type DiscussionRepository interface { GetDiscussionsByID(discussionID interface{}) (*entity.Discussion, error) GetDiscussionByCode(code string) (*entity.Discussion, error) GetDiscussionsByUserID(userID interface{}) ([]*entity.Discussion, error) Create(param entity.CreateDiscussionParam) (*entity.Discussion, error) AddMember(discussionID interface{}, userID interface{}) error RemoveMember(discussionID interface{}, userID interface{}) error UpdateByID(discussionID interface{}, param entity.UpdateDiscussionParam) error UpdatePasswordByID(discussionID interface{}, password string) error UpdatePhotoByID(discussionID interface{}, url string) error DeleteByID(discussionID interface{}) error }
type DiscussionUsecase ¶
type DiscussionUsecase interface { GetAllUserDiscussions(userID interface{}) ([]*entity.Discussion, error) GetDiscussionByID(discussionID interface{}) (*entity.Discussion, error) GetDiscussionByCode(code string) (*entity.Discussion, error) Create(param entity.CreateDiscussionParam) (*entity.Discussion, error) JoinDiscussion(param entity.JoinDiscussionParam) (*entity.Discussion, error) LeaveDiscussion(discussionID interface{}, userID interface{}) error Update(discussionID interface{}, param entity.UpdateDiscussionParam) error UpdatePassword(discussionID interface{}, param entity.UpdateDiscussionPassword) error UpdatePhoto(discussionID interface{}, url string) error Delete(discussionID interface{}) error }
type MessageRepository ¶
type MessageUsecase ¶
type SSOAuthenticator ¶
type SubscribeListener ¶
type SubscribeListener func(channel string, message interface{})
type Tokenizer ¶
type Tokenizer interface { Generate(entity.TokenPayload) (string, error) Parse(token string) (*entity.TokenPayload, error) }
Click to show internal directories.
Click to hide internal directories.