package
0.0.3
Repository: https://github.com/authzed/spicedb.git
Documentation: pkg.go.dev

# Functions

NewConsistentBackendClient creates an instance of the smart client with the specified configuration.
NewEndpointConfig configures TLS protected backend connections.
NewEndpointConfigNoTLS configures plaintext backend connections.
NewEndpointResolver configures a TLS protected endpoint resolver connection.
NewEndpointResolverNoTLS configures a plaintext endpoint resolver connection.
NewFallbackEndpoint configures a TLS protected fallback endpoint connection.
NewFallbackEndpointNoTLS configures a plaintext fallback endpoint connection.
NoFallbackEndpoint disables the fallback backend option.

# Structs

ConsistentBackendClient is a client which utilizes a dynamic source of backends and a consistent hashring implementation for consistently calling the same backend for the same request.
EndpointConfig contains configuration for establishing connections with a specific backend service.
EndpointResolverConfig contains configuration for establishing a connection to a dynamic endpoint resolver service.
FallbackEndpointConfig contains configuration for a static fallback endpoint to be used when no resolved endpoints are available.