Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶ added in v1.12.0
type Options struct {
// Port is the port that the server will listen on.
Port int
// Security is the security handler for the server.
Security security.Handler
// Validator are the client authentication validator.
Validators map[sentryv1pb.SignCertificateRequest_TokenValidator]validator.Validator
// Name of the default validator to use if the request doesn't specify one.
DefaultValidator sentryv1pb.SignCertificateRequest_TokenValidator
// CA is the certificate authority which signs client certificates.
CA ca.Signer
}
Options is the configuration for the server.
Click to show internal directories.
Click to hide internal directories.