# Packages
No description provided by the author
# Functions
No description provided by the author
New returns an uninitialized HTTP service.
NewNodesFromServers creates a slice of Nodes from a slice of Servers.
NewQueryParams returns a new QueryParams from the given HTTP request.
Test tests the node's reachability and leadership status.
No description provided by the author
No description provided by the author
# Constants
AllowCredentialsHeader is the HTTP header for supporting specifying credentials.
AllowHeadersHeader is the HTTP header for supporting the correct request headers.
AllowMethodsHeader is the HTTP header for supporting the correct methods.
AllowOriginHeader is the HTTP header for allowing CORS compliant access from certain origins.
ServedByHTTPHeader is the HTTP header used to report which node (by node Raft address) actually served the request if it wasn't served by this node.
VersionHTTPHeader is the HTTP header key for the version.
# Variables
ErrLeaderNotFound is returned when a node cannot locate a leader.
Avoid leaking internal errors to client.
# Interfaces
No description provided by the author
CredentialStore is the interface credential stores must support.
GetAddresser is the interface that wraps the GetNodeAPIAddr method.
No description provided by the author
# Type aliases
QueryParams represents the query parameters passed in an HTTP request.