Versions in this module Expand all Collapse all v0 v0.0.1 Oct 30, 2023 Changes in this version + type Account struct + func NewAccount(authConfig AuthConfig, iamConfig IAMConfig, db storage.Store) (*Account, error) + func (a *Account) BasicAuth(ctx context.Context, user, pass string, schema *security.BasicScheme) (context.Context, error) + func (a *Account) Create(ctx context.Context, payload *account.CreatePayload) (res *account.Account, err error) + func (a *Account) Delete(ctx context.Context, payload *account.DeletePayload) (err error) + func (a *Account) Get(ctx context.Context, payload *account.GetPayload) (res *account.Account, err error) + func (a *Account) GroupAdd(ctx context.Context, payload *account.GroupAddPayload) (err error) + func (a *Account) GroupRemove(ctx context.Context, payload *account.GroupRemovePayload) (err error) + func (a *Account) Update(ctx context.Context, payload *account.UpdatePayload) (res *account.Account, err error) + type Aggregate struct + func NewAggregate(authConfig AuthConfig, iamConfig IAMConfig, db storage.Store) (*Aggregate, error) + func (a *Aggregate) Accounts(ctx context.Context, payload *aggregate.AccountsPayload) (res []*aggregate.Account, err error) + func (a *Aggregate) BasicAuth(ctx context.Context, user, pass string, schema *security.BasicScheme) (context.Context, error) + func (a *Aggregate) Groups(ctx context.Context, payload *aggregate.GroupsPayload) (res []*aggregate.Group, err error) + type AuthConfig struct + Password string + Username string + type IAMConfig struct + Environment string + OrgID string + Region string + ServiceID string + ServicePrivateKey string + type Test struct + func (t Test) Test(ctx context.Context) (err error)