Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SegmentService ¶
type SegmentService struct {
// contains filtered or unexported fields
}
func NewSegmentService ¶
func NewSegmentService(repo repository.Segment) *SegmentService
func (*SegmentService) CreateSegment ¶
func (s *SegmentService) CreateSegment(title string) error
func (*SegmentService) DeleteSegment ¶
func (s *SegmentService) DeleteSegment(title string) error
type Service ¶
func NewService ¶
func NewService(repo *repository.Repository) *Service
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(repo repository.User) *UserService
func (*UserService) GetReportsPath ¶
func (s *UserService) GetReportsPath() string
func (*UserService) GetUsersCurrentSegments ¶
func (s *UserService) GetUsersCurrentSegments(userId int) ([]string, error)
func (*UserService) GetUsersSegmentsHistory ¶
func (s *UserService) GetUsersSegmentsHistory(dateFrom string, dateTo string) (string, error)
func (*UserService) Update ¶
func (s *UserService) Update(update dynamicsegmentation.UserUpdate) error
Click to show internal directories.
Click to hide internal directories.