Home / Function/ TestBadTrustedCIDRs() — gin Function Reference

TestBadTrustedCIDRs() — gin Function Reference

Architecture documentation for the TestBadTrustedCIDRs() function in gin_integration_test.go from the gin codebase.

Entity Profile

Relationship Graph

Source Code

gin_integration_test.go lines 82–85

func TestBadTrustedCIDRs(t *testing.T) {
	router := New()
	require.Error(t, router.SetTrustedProxies([]string{"hello/world"}))
}

Domain

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free