Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrForbidden = errors.New("forbidden")
View Source
var ErrInternal = errors.New("internal failure")
View Source
var ErrInvalid = errors.New("invalid")
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GetRaw(ctx context.Context, groupId, userId string, subj model.Subject) (l model.Limit, err error) Set(ctx context.Context, groupId, userId string, subj model.Subject, count int64, expires time.Time) (err error) }
func NewService ¶
func NewService( client ServiceClient, ) Service
Click to show internal directories.
Click to hide internal directories.