Documentation ¶
Index ¶
- type Store
- func (s *Store) Get(ctx context.Context, pid apiproject.ProjectID, name string) (*apivalues.Value, *statestore.Metadata, error)
- func (s *Store) GetKey(ctx context.Context, pid apiproject.ProjectID, name string, k *apivalues.Value) (*apivalues.Value, error)
- func (s *Store) Inc(ctx context.Context, pid apiproject.ProjectID, name string, amount int64) (ret *apivalues.Value, err error)
- func (s *Store) Index(ctx context.Context, pid apiproject.ProjectID, name string, idx int) (*apivalues.Value, error)
- func (s *Store) Insert(ctx context.Context, pid apiproject.ProjectID, name string, idx int, ...) error
- func (s *Store) Keys(ctx context.Context, pid apiproject.ProjectID, name string) (*apivalues.Value, error)
- func (s *Store) Length(ctx context.Context, pid apiproject.ProjectID, name string) (int, error)
- func (s *Store) List(ctx context.Context, pid apiproject.ProjectID) ([]string, error)
- func (s *Store) Set(ctx context.Context, pid apiproject.ProjectID, name string, v *apivalues.Value) error
- func (s *Store) SetKey(ctx context.Context, pid apiproject.ProjectID, name string, ...) error
- func (s *Store) Setup(ctx context.Context) error
- func (s *Store) Take(ctx context.Context, pid apiproject.ProjectID, name string, idx, count int) (taken *apivalues.Value, err error)
- func (s *Store) Teardown(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.