Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FollowUserService ¶
type FollowUserService interface {
Execute(followerID int64, followedID int64) (username string, err error)
}
func NewFollowUserService ¶
func NewFollowUserService(db database.Database) FollowUserService
type ListFollowersOutput ¶
type ListFollowersService ¶
type ListFollowersService interface {
Execute(userID int64) ([]ListFollowersOutput, error)
}
func NewListFollowersService ¶
func NewListFollowersService(db database.Database) ListFollowersService
type ListFollowingsOutput ¶
type ListFollowingsService ¶
type ListFollowingsService interface {
Execute(userID int64) ([]ListFollowingsOutput, error)
}
func NewListFollowingsService ¶
func NewListFollowingsService(db database.Database) ListFollowingsService
type UnfollowUserService ¶
type UnfollowUserService interface {
Execute(followerID int64, followedID int64) (username string, err error)
}
func NewUnfollowUserService ¶
func NewUnfollowUserService(db database.Database) UnfollowUserService
Click to show internal directories.
Click to hide internal directories.