Documentation ¶
Index ¶
- func TestAllowedCredentials(t *testing.T, s *cors.Service, req *http.Request)
- func TestAllowedHeader(t *testing.T, s *cors.Service, req *http.Request)
- func TestAllowedMethodNoPassthrough(t *testing.T, s *cors.Service, req *http.Request)
- func TestAllowedMethodPassthrough(t *testing.T, s *cors.Service, req *http.Request)
- func TestAllowedOrigin(t *testing.T, s *cors.Service, req *http.Request)
- func TestAllowedOriginFunc(t *testing.T, s *cors.Service, req *http.Request)
- func TestAllowedWildcardHeader(t *testing.T, s *cors.Service, req *http.Request)
- func TestDisallowedHeader(t *testing.T, s *cors.Service, req *http.Request)
- func TestDisallowedMethod(t *testing.T, s *cors.Service, req *http.Request)
- func TestDisallowedOrigin(t *testing.T, s *cors.Service, req *http.Request)
- func TestDisallowedWildcardOrigin(t *testing.T, s *cors.Service, req *http.Request)
- func TestExposedHeader(t *testing.T, s *cors.Service, req *http.Request)
- func TestMatchAllOrigin(t *testing.T, s *cors.Service, req *http.Request)
- func TestMaxAge(t *testing.T, s *cors.Service, req *http.Request)
- func TestNoConfig(t *testing.T, s *cors.Service, req *http.Request)
- func TestOriginHeader(t *testing.T, s *cors.Service, req *http.Request)
- func TestWildcardOrigin(t *testing.T, s *cors.Service, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestAllowedCredentials ¶
func TestAllowedOriginFunc ¶
func TestDisallowedHeader ¶
func TestDisallowedMethod ¶
func TestDisallowedOrigin ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.