Documentation
¶
Index ¶
- Variables
- type LogService
- type StatService
- func (StatService) DayClick() ([]val_obj.StatItem, error)
- func (s StatService) TopBrowser() ([]val_obj.StatItem, error)
- func (StatService) TopCountry() ([]val_obj.StatItem, error)
- func (s StatService) TopDevice() ([]val_obj.StatItem, error)
- func (s StatService) TopOS() ([]val_obj.StatItem, error)
- func (StatService) TopURL() ([]val_obj.StatItem, error)
- type URLService
- func (s URLService) Delete(id uint) error
- func (URLService) GetByCode(code string) (*val_obj.URLObject, error)
- func (URLService) GetById(id uint) (*val_obj.URLObject, error)
- func (URLService) List(page, pageSize int) ([]val_obj.URLObject, int64, error)
- func (URLService) New(val val_obj.URLObject) (uint, string, error)
- func (s URLService) SearchCode(code string) (val_obj.URLObject, error)
- func (s URLService) Update(val val_obj.URLObject) error
- func (s URLService) UpdateEnabled(id uint, enabled bool) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type LogService ¶
type LogService struct{}
func (LogService) AddLog ¶
func (s LogService) AddLog(val val_obj.AccessLog)
func (LogService) CleanLog ¶
func (LogService) CleanLog(urlid int) error
type StatService ¶
type StatService struct{}
func (StatService) TopBrowser ¶
func (s StatService) TopBrowser() ([]val_obj.StatItem, error)
func (StatService) TopCountry ¶
func (StatService) TopCountry() ([]val_obj.StatItem, error)
type URLService ¶
type URLService struct{}
func (URLService) Delete ¶
func (s URLService) Delete(id uint) error
func (URLService) SearchCode ¶
func (s URLService) SearchCode(code string) (val_obj.URLObject, error)
func (URLService) UpdateEnabled ¶
func (s URLService) UpdateEnabled(id uint, enabled bool) error
Click to show internal directories.
Click to hide internal directories.