Documentation
¶
Index ¶
- func ErrRequiredParam(param string) error
- func ErrUnsupported(param string, value any) error
- type Service
- func (s *Service) GetStreak(ctx context.Context, streakType int64) (*model.Streak, error)
- func (s *Service) GetStreaksHistory(ctx context.Context, streakType int64, c model.Cursor) ([]*model.Streak, cursor.Page, error)
- func (s *Service) HandleUpsertStreak(ctx context.Context, e *event.Event) error
- func (s *Service) ValidateStreakType(_ context.Context, streakType int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrRequiredParam ¶
func ErrUnsupported ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetStreaksHistory ¶
func (*Service) HandleUpsertStreak ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.