Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for ListenAndServeTLS (0.09 seconds)

  1. docs/iam/access-manager-plugin.go

    	}
    
    	if certFile != "" || keyFile != "" {
    		if certFile == "" || keyFile == "" {
    			log.Fatal("Please provide both a key file and a cert file to enable TLS.")
    		}
    		serveFunc = func() error {
    			return http.ListenAndServeTLS(":8080", certFile, keyFile, nil)
    		}
    	}
    
    	http.HandleFunc("/", mainHandler)
    
    	log.Print("Listening on :8080")
    	log.Fatal(serveFunc())
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. api/go1.txt

    pkg net/http, func HandleFunc(string, func(ResponseWriter, *Request))
    pkg net/http, func Head(string) (*Response, error)
    pkg net/http, func ListenAndServe(string, Handler) error
    pkg net/http, func ListenAndServeTLS(string, string, string, Handler) error
    pkg net/http, func MaxBytesReader(ResponseWriter, io.ReadCloser, int64) io.ReadCloser
    pkg net/http, func NewFileTransport(FileSystem) RoundTripper
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top