Versions in this module Expand all Collapse all v0 v0.3.0 Nov 27, 2026 Changes in this version + var Group = command.Register(...) + type CreateInput struct + Expires string + Labels map[string]string + Transport string + Uses int + type CreateOutput struct + ExpiresAt time.Time + ID string + Join string + Labels map[string]string + Token string + Uses int + func Create(ctx context.Context, d Deps, in CreateInput) (CreateOutput, error) + type Deps struct + Audit func(ctx context.Context, e audit.Entry) error + Config config.Config + Dial func(ctx context.Context) (jointoken.KV, func(), error) + Now func() time.Time + type ListInput struct + type ListOutput struct + Items []Row + func List(ctx context.Context, d Deps, _ ListInput) (ListOutput, error) + type RevokeInput struct + ID string + type RevokeOutput struct + ID string + func Revoke(ctx context.Context, d Deps, in RevokeInput) (RevokeOutput, error) + type Row struct + CreatedAt time.Time + ExpiresAt time.Time + ID string + Labels map[string]string + UsesLeft int