Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type INode ¶
type INode interface { // Query data Query(ctx context.Context, params schema.NodeQueryParam, opts ...schema.NodeQueryOptions) (*schema.NodeQueryResult, error) // Query specified data Get(ctx context.Context, UUID string, opts ...schema.NodeQueryOptions) (*schema.Node, error) // Create data Create(ctx context.Context, item schema.Node) error // Update data Update(ctx context.Context, UUID string, item schema.Node) error // Delete data Delete(ctx context.Context, UUID string) error }
INode - Node storage interface
type IPrimitive ¶
type IPrimitive interface { // Query data Query(ctx context.Context, params schema.PrimitiveQueryParam, opts ...schema.PrimitiveQueryOptions) (*schema.PrimitiveQueryResult, error) // Query specified data Get(ctx context.Context, UUID string, opts ...schema.PrimitiveQueryOptions) (*schema.Primitive, error) // Create data Create(ctx context.Context, item schema.Primitive) error // Update data Update(ctx context.Context, UUID string, item schema.Primitive) error // Delete data Delete(ctx context.Context, UUID string) error }
IPrimitive Primitive storage interface
Click to show internal directories.
Click to hide internal directories.