Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestJwtHTTPServer (0.12 sec)

  1. samples/jwt-server/src/main_test.go

    // limitations under the License.
    
    package main
    
    import (
    	"crypto/tls"
    	"crypto/x509"
    	"fmt"
    	"net/http"
    	"os"
    	"testing"
    )
    
    func TestJwtHTTPServer(t *testing.T) {
    	server := NewJwtServer("", "")
    	// Start the test server on random port.
    	go server.runHTTP("localhost:0")
    	// Prepare the HTTP request.
    	httpClient := &http.Client{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 23 16:58:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top