syncr

package module
v0.0.0-...-8337d8f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

README

Syncr

Syncr is a library for storage of append-only log data on local or remote storage.

Features
  • Append-only data storage
  • Reading and writing of data
  • Local and remote streaming storage
  • Transparent rotation of append-only files
  • Thread safe, for use by multiple goroutines
  • Append-only writing to storage using io.Writer
  • In-order reading of entire storage using io.Reader
  • Ability to buffer writes, or sync writes immediately
  • Write to and read from a directory of log files as if it were one big file
  • Support for append-only files locally, and in S3, GCS, RiakCS, CephFS, SeaweedFS
Installation
go get github.com/abcum/syncr

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Syncable

type Syncable interface {
	io.Reader
	io.Writer
	io.Seeker
	io.Closer
	sync.Locker
	Sync() error
}

Syncable is an interface which represents an append-only data stream storage type for reading and writing data on local or remote storage.

Directories

Path Synopsis
Package ceph enables in-order streaming of data to and from files stored on a CephFS object storage server.
Package ceph enables in-order streaming of data to and from files stored on a CephFS object storage server.
Package file enables in-order streaming of data to and from a single file stored in persistent storage on disk.
Package file enables in-order streaming of data to and from a single file stored in persistent storage on disk.
Package gcs enables in-order streaming of data to and from files stored in Google Cloud Storage.
Package gcs enables in-order streaming of data to and from files stored in Google Cloud Storage.
Package logr enables in-order streaming of data to and from rotating files stored in persistent storage on disk.
Package logr enables in-order streaming of data to and from rotating files stored in persistent storage on disk.
Package minio enables in-order streaming of data to and from files stored on a Minio object storage server.
Package minio enables in-order streaming of data to and from files stored on a Minio object storage server.
Package riak enables in-order streaming of data to and from files stored on a RiakCS object storage server.
Package riak enables in-order streaming of data to and from files stored on a RiakCS object storage server.
Package s3 enables in-order streaming of data to and from files stored in Amazon S3.
Package s3 enables in-order streaming of data to and from files stored in Amazon S3.
Package weed enables in-order streaming of data to and from files stored on a SeaweedFS object storage server.
Package weed enables in-order streaming of data to and from files stored on a SeaweedFS object storage server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL