package
0.0.0-20250324154055-3b0bf4af5011
Repository: https://github.com/couchbase/eventing.git
Documentation: pkg.go.dev
# Functions
DefaultBackoff used as default backoff if none is provided in the backoff Algorithm: If server asks for backoff it uses server provided seconds to retry else backoff every 1second.
DefaultCallback used for terminating further processing of the request and end the request downstream.
NewPointConnection creates a new PointConnection object with provided settings.
# Variables
ErrEndOfConnection notifies that connection is terminated by server or network issue If this is provided in the callback client should give back Stop/RetryRequest.
# Structs
ConnSettings is provided when creating a PointConnection request This will dictate the connection semantics.
Request that needs to be done by the point connection instance.
Response is the response to the provided response.
# Interfaces
PointConnection is the interface to make a point request to a host.
# Type aliases
AuthFunction should return valid user name and password This is used to authenticate with the server.
BackOffFunction shoudl return how much seconds to backoff before retrying.
ResponseCallback will be called when it receives the response.
No description provided by the author
WhatNext will dictate what to do after calling a callback provided during request.