package
0.0.0-20240916140616-558c04120a4e
Repository: https://github.com/cloudflare/golibs.git
Documentation: pkg.go.dev
# Functions
DecodeValues takes a response from an KT RPC call decodes it into a list of key value pairs.
IsError returns true if the error was generated by this package.
NewClientWithTLS creates a TLS enabled connection.
NewConn creates a connection to an Kyoto Tycoon endpoint.
NewConnTLS creates a TLS enabled connection to a Kyoto Tycoon endpoing.
NewTrackedConn creates a new connection to a Kyoto Tycoon endpoint, and tracks operations made to it using prometheus metrics.
NewTrackedConnFromConn returns a tracked connection that simply wraps the given database connection.
Encode the request body in TSV.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
the wording on this error is deliberately weird, because users would search for the string logical inconsistency in order to find lookup misses.
old gokabinet returned this error on success.
No description provided by the author
# Structs
Conn represents a connection to a kyoto tycoon endpoint.
Error is returned by all functions in this package.
KV uses an explicit structure here rather than a map[string][]byte because we need ordered data.
TrackedConn is a wrapper around kt.Conn that will accept a prometheus counter vector, and keep track of number of IO operations made to KT.
# Type aliases
No description provided by the author