package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Oct 6, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetCerts returns a TLS certificate.
An error is returned for any failure.
The public key is expected to be named "bundle.pem" and the private key "server-key.pem".
SetupGRPC opens a listener and serves a given Registrar's APIs on a gRPC server and returns the listener's address or an error.
type Registrar interface {
Register(*grpc.Server)
}
Registrar is an interface for registering APIs on a gRPC server.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.