Documentation
¶
Overview ¶
Package server contains a hybrid gRPC+HTTP server to store and retrieve files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet( common.Set, diag.Set, oidc.Set, rest.Set, rpc.Set, ProvideCertificates, ProvideServer, )
Set is used by wire.
Functions ¶
func ProvideCertificates ¶
func ProvideCertificates(cfg *common.Config, log *log.Logger) ([]tls.Certificate, error)
ProvideCertificates will load the certificate and keys specified and can optionally generate a self-signed certificate for debugging.
Types ¶
Directories
¶
Path | Synopsis |
---|---|
Package common contains utility code that is common between HTTP and RPC interfaces.
|
Package common contains utility code that is common between HTTP and RPC interfaces. |
Package diag contains code to retrieve diagnostic information from the server.
|
Package diag contains code to retrieve diagnostic information from the server. |
Package oidc provide OpenID Connect integration for cacheroach.
|
Package oidc provide OpenID Connect integration for cacheroach. |
Package rest contains the support code for the plain HTTP API.
|
Package rest contains the support code for the plain HTTP API. |
Package rpc contains the gRPC endpoints and support code.
|
Package rpc contains the gRPC endpoints and support code. |
Click to show internal directories.
Click to hide internal directories.