Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { GetGroup(ctx context.Context, gid *grouppb.GroupId) (*grouppb.Group, error) GetGroupByClaim(ctx context.Context, claim, value string) (*grouppb.Group, error) FindGroups(ctx context.Context, query string) ([]*grouppb.Group, error) GetMembers(ctx context.Context, gid *grouppb.GroupId) ([]*userpb.UserId, error) HasMember(ctx context.Context, gid *grouppb.GroupId, uid *userpb.UserId) (bool, error) }
Manager is the interface to implement to manipulate groups.
Click to show internal directories.
Click to hide internal directories.