stream

package
v0.0.0-...-2a449b3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

The stream package can be used for streaming CouchDB responses in JSON format from the CouchDB cluster to a client, with the stack doing stuff like filtering some fields. It is way faster that doing a full parsing of the JSON response, doing stuff, and then reserialize to JSON for large payloads.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAllDocsFilter

func NewAllDocsFilter(fields []string) *allDocsFilter

NewAllDocsFilter creates an object that can be used to remove some fields from a response to the all_docs endpoint of CouchDB.

Types

This section is empty.

Jump to

Keyboard shortcuts

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