Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
Service Service
}
func (Controller) ListRoutes ¶
func (controller Controller) ListRoutes() []route.Route
type ServiceImpl ¶
type ServiceImpl struct { Db Dao BanService user.BanService PhotoService photo.Service }
func (ServiceImpl) LikePhoto ¶
func (service ServiceImpl) LikePhoto(photoId string, userId string) error
func (ServiceImpl) UnlikePhoto ¶
func (service ServiceImpl) UnlikePhoto(photoId string, userId string) error
Click to show internal directories.
Click to hide internal directories.