Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UrlService ¶
type UrlService struct {
Repo repository.Repository
}
func (*UrlService) InsertNewAlias ¶
func (s *UrlService) InsertNewAlias(url *model.Url) error
func (*UrlService) MostVisited ¶
func (s *UrlService) MostVisited() ([]model.Url, error)
func (*UrlService) RetrieveLongUrl ¶
func (s *UrlService) RetrieveLongUrl(alias string) (*model.Url, error)
func (*UrlService) UpdateVisitUrl ¶
func (s *UrlService) UpdateVisitUrl(url *model.Url)
Click to show internal directories.
Click to hide internal directories.