Versions in this module Expand all Collapse all v0 v0.77.0 Dec 5, 2026 Changes in this version + const DefaultGroup + var ErrGroupAlreadyExists = httperr.WithCode(errors.New("group already exists"), http.StatusConflict) + var ErrGroupNotFound = httperr.WithCode(errors.New("group not found"), http.StatusNotFound) + var ErrInvalidGroupName = httperr.WithCode(errors.New("invalid group name"), http.StatusBadRequest) + type Group struct + Name string + Plugins []string + RegisteredClients []string + Skills []string + func (g *Group) WriteJSON(w *os.File) error + type Manager interface + Create func(ctx context.Context, name string) error + Delete func(ctx context.Context, name string) error + Exists func(ctx context.Context, name string) (bool, error) + Get func(ctx context.Context, name string) (*Group, error) + List func(ctx context.Context) ([]*Group, error) + RegisterClients func(ctx context.Context, groupNames []string, clientNames []string) error + UnregisterClients func(ctx context.Context, groupNames []string, clientNames []string) error + Update func(ctx context.Context, group *Group) error