Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") ErrAlreadyExists = errors.New("already exists") )
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { Create(context.Context, apiaccount.AccountName, *apiaccount.AccountSettings) error Update(context.Context, apiaccount.AccountName, *apiaccount.AccountSettings) error Get(context.Context, apiaccount.AccountName) (*apiaccount.Account, error) BatchGet(context.Context, []apiaccount.AccountName) (map[apiaccount.AccountName]*apiaccount.Account, error) Setup(context.Context) error Teardown(context.Context) error }
Click to show internal directories.
Click to hide internal directories.