Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentService ¶
type CommentService interface { GetCommentList(ctx context.Context, filter entity.CommentFilter) ([]entity.Comment, error) GetCommentByID(ctx context.Context, commentID uuid.UUID) (entity.Comment, error) ExistsCommentByID(ctx context.Context, commentID uuid.UUID) (bool, error) AddComment(ctx context.Context, comment entity.CommentAdd) (entity.Comment, error) UpdateCommentByID(ctx context.Context, commentID uuid.UUID, comment entity.CommentUpdate) (entity.Comment, error) DeleteCommentByID(ctx context.Context, commentID uuid.UUID) error }
type CountryService ¶
type PostService ¶
type PostService interface { GetPostList(ctx context.Context, filter entity.PostFilter) ([]entity.Post, error) GetPostByID(ctx context.Context, postID uuid.UUID) (entity.Post, error) ExistsPostByID(ctx context.Context, postID uuid.UUID) (bool, error) AddPost(ctx context.Context, post entity.PostAdd) (entity.Post, error) UpdatePostByID(ctx context.Context, postID uuid.UUID, post entity.PostUpdate) (entity.Post, error) DeletePostByID(ctx context.Context, postID uuid.UUID) error }
type TagService ¶
type TagService interface { GetTagList(ctx context.Context, filter entity.TagFilter) ([]entity.Tag, error) GetTagByID(ctx context.Context, tagID uuid.UUID) (entity.Tag, error) ExistsTagByID(ctx context.Context, tagID uuid.UUID) (bool, error) AddTag(ctx context.Context, tag entity.TagAdd) (entity.Tag, error) UpdateTagByID(ctx context.Context, tagID uuid.UUID, tag entity.TagUpdate) (entity.Tag, error) DeleteTagByID(ctx context.Context, tagID uuid.UUID) error }
type UserService ¶
type UserService interface { GetUserList(ctx context.Context, filter entity.UserFilter) ([]entity.User, error) GetUserByID(ctx context.Context, userID uuid.UUID) (entity.User, error) ExistsUserByID(ctx context.Context, userID uuid.UUID) (bool, error) AddUser(ctx context.Context, user entity.UserAdd) (entity.User, error) UpdateUserByID(ctx context.Context, userID uuid.UUID, user entity.UserUpdate) (entity.User, error) DeleteUserByID(ctx context.Context, userID uuid.UUID) error }
Click to show internal directories.
Click to hide internal directories.