示例#1
0
// BenchmarkServeHTTPRSAGenerator-4	    5000	    328220 ns/op	   34544 B/op	     105 allocs/op Go 1.5.0
func BenchmarkServeHTTPRSAGenerator(b *testing.B) {
	bmServeHTTP(b, ctxjwt.WithRSAGenerator())
}
示例#2
0
func TestRSAGenerate(t *testing.T) {
	testRsaOption(t, ctxjwt.WithRSAGenerator())
}
示例#3
0
func TestRSAGenerate(t *testing.T) {
	if testing.Short() {
		t.Skip("Test skipped in short mode")
	}
	testRsaOption(t, ctxjwt.WithRSAGenerator())
}