internal

package
v0.0.0-...-202847b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestAllowedCredentials

func TestAllowedCredentials(t *testing.T, s *cors.Service, req *http.Request)

func TestAllowedHeader

func TestAllowedHeader(t *testing.T, s *cors.Service, req *http.Request)

func TestAllowedMethodNoPassthrough

func TestAllowedMethodNoPassthrough(t *testing.T, s *cors.Service, req *http.Request)

func TestAllowedMethodPassthrough

func TestAllowedMethodPassthrough(t *testing.T, s *cors.Service, req *http.Request)

func TestAllowedOrigin

func TestAllowedOrigin(t *testing.T, s *cors.Service, req *http.Request)

func TestAllowedOriginFunc

func TestAllowedOriginFunc(t *testing.T, s *cors.Service, req *http.Request)

func TestAllowedWildcardHeader

func TestAllowedWildcardHeader(t *testing.T, s *cors.Service, req *http.Request)

func TestDisallowedHeader

func TestDisallowedHeader(t *testing.T, s *cors.Service, req *http.Request)

func TestDisallowedMethod

func TestDisallowedMethod(t *testing.T, s *cors.Service, req *http.Request)

func TestDisallowedOrigin

func TestDisallowedOrigin(t *testing.T, s *cors.Service, req *http.Request)

func TestDisallowedWildcardOrigin

func TestDisallowedWildcardOrigin(t *testing.T, s *cors.Service, req *http.Request)

func TestExposedHeader

func TestExposedHeader(t *testing.T, s *cors.Service, req *http.Request)

func TestMatchAllOrigin

func TestMatchAllOrigin(t *testing.T, s *cors.Service, req *http.Request)

func TestMaxAge

func TestMaxAge(t *testing.T, s *cors.Service, req *http.Request)

func TestNoConfig

func TestNoConfig(t *testing.T, s *cors.Service, req *http.Request)

func TestOriginHeader

func TestOriginHeader(t *testing.T, s *cors.Service, req *http.Request)

func TestWildcardOrigin

func TestWildcardOrigin(t *testing.T, s *cors.Service, req *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL