Categorygithub.com/go-kivik/xkivik/v4
modulepackage
4.0.0
Repository: https://github.com/go-kivik/xkivik.git
Documentation: pkg.go.dev

# README

Codecov GoDoc

xKivik

Package xKivik provides experimental features that may be considered for inclusion in the proper kivik package over time.

Maybe you're looking for the kivik CLI tool?

Compatibility

There is no backward compatibility guarantee for anything in this package.

This package is tested against Go 1.14 and newer.

License

This software is released under the terms of the Apache 2.0 license. See LICENCE.md, or read the full license.

# Packages

Package auth provides an experimental cookie auth mechanism for CouchDB, which deletes a cookie any time a 401 is received.
No description provided by the author

# Functions

Replicate performs a replication from source to target, using a limited version of the CouchDB replication protocol.
WithEventCallback adds an EventCallback function to the context, which will be used by the Replicate function, to emit events, useful for debugging or logging.

# Structs

Document represents any CouchDB document.
ReplicationEvent is an event emitted by the Replicate function, which represents a single read or write event, and its status.
ReplicationResult represents the result of a replication.

# Type aliases

EventCallback is a function that receives replication events.