Documentation ¶
Index ¶
- func Barrier(ctx context.Context, datastoreType Datastore_type, datastore_ID string) error
- func InitCtx(ctx context.Context) context.Context
- func Transfer(ctx context.Context, lineage []WriteIdentifier) (context.Context, error)
- func Write(ctx context.Context, datastoreType Datastore_type, datastore_ID string, ...) (context.Context, error)
- type AntiObj
- type Datastore_type
- type RabbitMQ
- type Redis
- type WriteIdentifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Barrier ¶ added in v0.3.1
func Barrier(ctx context.Context, datastoreType Datastore_type, datastore_ID string) error
Types ¶
type AntiObj ¶ added in v0.3.1
type AntiObj struct { Version string Lineage []WriteIdentifier }
type Datastore_type ¶ added in v0.3.1
type Datastore_type interface {
// contains filtered or unexported methods
}
type WriteIdentifier ¶ added in v0.3.1
func GetLineage ¶ added in v0.3.1
func GetLineage(ctx context.Context) ([]WriteIdentifier, error)
func Read ¶ added in v0.3.1
func Read(ctx context.Context, datastoreType Datastore_type, key string) (string, []WriteIdentifier, error)
Click to show internal directories.
Click to hide internal directories.