 package
    
    
    
      package
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v1.5.6
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: Apr 28, 2025
  
      
  
    License: Apache-2.0
      
    
  
  
    Opens a new window with license information.
  
      
        
  
    
      Imports: 15
    
  
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by: 1
    
  
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
    
      
    
    
    
  
    
      
      
        
          
  
    
       Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    
      
        
 
  
    
      View Source
      const (
	PemTypePrivateKey  = "PRIVATE KEY"
	PemTypeCertificate = "CERTIFICATE"
)
     
  
  
  
  
  
	  
  
  
    
    
    
  Create a new TLS configuration object from the certificate and key files
  
         
  
  
      
  
  
    
    
    
      type Opt func(*opt) error
     
  
    
  
  
    
    
    
  Set the read timeout for the HTTP server
  
   
    
  
  
    
    
    
  Set the write timeout for the HTTP server
  
   
  
       
      
     
   
        
      
      
        
  
    
       Source Files
      ¶
      Source Files
      ¶
    
   
      
      
        
  
    
       Directories
      ¶
      Directories
      ¶
    
    
    
   
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.