Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateX509Cert ¶ added in v0.97.4
func GenerateX509Cert(from, to time.Time) (*x509.Certificate, error)
func GenerateX509PEMs ¶ added in v0.97.4
func GenerateX509PEMs(cert *x509.Certificate, key *ecdsa.PrivateKey) (certPem, keyPem []byte, err error)
func PublicTLSCert ¶
Types ¶
type Server ¶
type Server struct { Port int // contains filtered or unexported fields }
func (*Server) ToBackground ¶
func (s *Server) ToBackground()
func (*Server) ToForeground ¶
func (s *Server) ToForeground()
Click to show internal directories.
Click to hide internal directories.