Versions in this module Expand all Collapse all v0 v0.2.0 Nov 9, 2021 Changes in this version + type AppendSchemaWriter interface + Write func(context.Context, string) error + func NewSchemaAppendWriter(client *authzed.Client, discard bool) AppendSchemaWriter + type BatchingRelationshipWriter struct + func (w BatchingRelationshipWriter) Write(ctx context.Context, updates []*v1.RelationshipUpdate) error + type DiscardingRelationshipWriter struct + func (w DiscardingRelationshipWriter) Write(ctx context.Context, updates []*v1.RelationshipUpdate) error + type DiscardingSchemaAppendWriter struct + func (w DiscardingSchemaAppendWriter) Write(ctx context.Context, schema string) error + type DryRunSchemaAppendWriter struct + func NewDryRunSchemaAppendWriter(client *authzed.Client) *DryRunSchemaAppendWriter + func (w *DryRunSchemaAppendWriter) Write(ctx context.Context, schema string) error + type LoggingRelationshipWriter struct + func (w LoggingRelationshipWriter) Write(ctx context.Context, updates []*v1.RelationshipUpdate) error + type RelationshipWriter interface + Write func(context.Context, []*v1.RelationshipUpdate) error + func NewBatchingRelationshipWriter(writer RelationshipWriter, batchSize int) RelationshipWriter + func NewDryRunRelationshipWriter() RelationshipWriter + func NewRelationshipWriter(client *authzed.Client) RelationshipWriter + type StdRelationshipWriter struct + func (w StdRelationshipWriter) Write(ctx context.Context, updates []*v1.RelationshipUpdate) error + type StdSchemaAppendWriter struct + func NewStdSchemaAppendWriter(client *authzed.Client) *StdSchemaAppendWriter + func (w *StdSchemaAppendWriter) Write(ctx context.Context, schema string) error