Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBadgeCountNotFound = errors.New("badge count not found")
)
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Store ¶
type Store interface {
// Add adds to the owner account's badge count
Add(ctx context.Context, owner string, amount uint32) error
// Reset resets the badge count for an owner account to zero
Reset(ctx context.Context, owner string) error
// Get gets a badge count record for an owner
Get(ctx context.Context, owner string) (*Record, error)
}
Click to show internal directories.
Click to hide internal directories.