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

# Functions

GRPCServerConfigWithOptions configures an existing GRPCServerConfig with the passed in options set.
HTTPServerConfigWithOptions configures an existing HTTPServerConfig with the passed in options set.
NewGRPCServerConfigWithOptions creates a new GRPCServerConfig with the passed in options set.
NewGRPCServerConfigWithOptionsAndDefaults creates a new GRPCServerConfig with the passed in options set starting from the defaults.
NewHTTPServerConfigWithOptions creates a new HTTPServerConfig with the passed in options set.
NewHTTPServerConfigWithOptionsAndDefaults creates a new HTTPServerConfig with the passed in options set starting from the defaults.
Registers flags that are common to many commands.
RegisterDeprecatedHTTPServerFlags registers a set of HTTP server flags as fully deprecated, for a removed HTTP service.
RegisterGRPCServerFlags adds the following flags for use with GrpcServerFromFlags: - "$PREFIX-addr" - "$PREFIX-tls-cert-path" - "$PREFIX-tls-key-path" - "$PREFIX-max-conn-age".
RegisterHTTPServerFlags adds the following flags for use with HttpServerFromFlags: - "$PREFIX-addr" - "$PREFIX-tls-cert-path" - "$PREFIX-tls-key-path" - "$PREFIX-enabled".
WithAddress returns an option that can set Address on a GRPCServerConfig.
WithBufferSize returns an option that can set BufferSize on a GRPCServerConfig.
WithClientCAPath returns an option that can set ClientCAPath on a GRPCServerConfig.
WithEnabled returns an option that can set Enabled on a GRPCServerConfig.
WithHTTPAddress returns an option that can set HTTPAddress on a HTTPServerConfig.
WithHTTPEnabled returns an option that can set HTTPEnabled on a HTTPServerConfig.
WithHTTPTLSCertPath returns an option that can set HTTPTLSCertPath on a HTTPServerConfig.
WithHTTPTLSKeyPath returns an option that can set HTTPTLSKeyPath on a HTTPServerConfig.
WithMaxConnAge returns an option that can set MaxConnAge on a GRPCServerConfig.
WithMaxWorkers returns an option that can set MaxWorkers on a GRPCServerConfig.
WithNetwork returns an option that can set Network on a GRPCServerConfig.
WithTLSCertPath returns an option that can set TLSCertPath on a GRPCServerConfig.
WithTLSKeyPath returns an option that can set TLSKeyPath on a GRPCServerConfig.

# Constants

No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author