Documentation ¶
Overview ¶
Package gnoi contains required services for running a gnoi server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server does blah.
func NewServer ¶
func NewServer(privateKey crypto.PrivateKey, defaultCertificate *tls.Certificate) (*Server, error)
NewServer does blah.
func (*Server) PrepareAuthenticated ¶
PrepareAuthenticated prepares a gRPC server with the CertificateManagement service running with full encryption and authentication.
func (*Server) PrepareEncrypted ¶
PrepareEncrypted prepares a gRPC server with the CertificateManagement service running with encryption but without authentication.
func (*Server) RegCertificateManagement ¶
RegCertificateManagement registers the Certificate Management service in the gRPC Server.
func (*Server) RegisterNotifier ¶
RegisterNotifier registers a function that will be called everytime the number of Certificates or CA Certificates changes.
Click to show internal directories.
Click to hide internal directories.