Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCounterRepository ¶
func NewCounterRepository(client *redis.Client) *couterRepository
Types ¶
type CounterService ¶
type Service ¶
type Service struct {
Repository Counter
}
func NewService ¶
func NewService(client *redis.Client) *Service
func (*Service) SetDecrement ¶
Click to show internal directories.
Click to hide internal directories.