Back to godoc.org

Package store

v1.7.1
Latest Go to latest
Published: Jun 1, 2020 | License: Apache-2.0 | Module: github.com/scylladb/gemini

Index

Package Files

type Config

type Config struct {
	MaxRetriesMutate      int
	MaxRetriesMutateSleep time.Duration
}

type Store

type Store interface {
	Create(context.Context, qb.Builder, qb.Builder) error
	Mutate(context.Context, qb.Builder, ...interface{}) error
	Check(context.Context, *gemini.Table, qb.Builder, ...interface{}) error
	Close() error
}

func New

func New(schema *gemini.Schema, testCluster *gocql.ClusterConfig, oracleCluster *gocql.ClusterConfig, cfg Config, traceOut io.Writer, logger *zap.Logger) Store
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier