Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemberType ¶ added in v0.30.3
type MemberType uint8
const ( MemberAll MemberType = 1 << iota / 2 MemberMod MemberNormal )
type Repo ¶ added in v0.30.3
type Repo interface {
GetByName(ctx context.Context, name string) (model.Group, error)
GetByID(ctx context.Context, id model.GroupID) (model.Group, error)
CountMembersByID(ctx context.Context, id model.GroupID, memberType MemberType) (int64, error)
ListMembersByID(
ctx context.Context, id model.GroupID, memberType MemberType, limit, offset int,
) ([]model.GroupMember, error)
}
Click to show internal directories.
Click to hide internal directories.