Documentation ¶
Index ¶
- type Store
- func (c *Store) Delete(ctx context.Context, itemPath string) (bool, error)
- func (c *Store) ExecuteQuery(ctx context.Context, queryName string, params map[string]interface{}, ...) error
- func (c *Store) Get(ctx context.Context, itemPath string, out value.ValueOut) error
- func (c *Store) ItemExists(ctx context.Context, itemPath string) (bool, error)
- func (c *Store) Put(ctx context.Context, itemPath string, data value.Value) error
- func (c *Store) Upsert(ctx context.Context, itemPath string, data value.Value) error
- func (c *Store) UpsertQuery(ctx context.Context, queryName string, queryText string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store to access a JSONStore
func NewService ¶
func NewService(orgName string, store string, conn grpc.ClientConnInterface) *Store
func (*Store) Delete ¶
Delete an item in the json store. returns true if the item was deleted, otherwise false.
func (*Store) ExecuteQuery ¶
func (c *Store) ExecuteQuery(ctx context.Context, queryName string, params map[string]interface{}, out value.ValueOut) error
ExecuteQuery executes a named query
func (*Store) ItemExists ¶
ItemExists tests if an item exists in the store
Click to show internal directories.
Click to hide internal directories.