Home / Class/ defaultTrustedCIDRs Class — gin Architecture

defaultTrustedCIDRs Class — gin Architecture

Architecture documentation for the defaultTrustedCIDRs class in gin.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  b4095a68_dfd2_c139_bf6b_78d5cb99c7a1["defaultTrustedCIDRs"]
  22068897_9e6c_d28e_6b96_439ffa67fe6e["gin.go"]
  b4095a68_dfd2_c139_bf6b_78d5cb99c7a1 -->|defined in| 22068897_9e6c_d28e_6b96_439ffa67fe6e

Relationship Graph

Source Code

gin.go lines 39–48

var defaultTrustedCIDRs = []*net.IPNet{
	{ // 0.0.0.0/0 (IPv4)
		IP:   net.IP{0x0, 0x0, 0x0, 0x0},
		Mask: net.IPMask{0x0, 0x0, 0x0, 0x0},
	},
	{ // ::/0 (IPv6)
		IP:   net.IP{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
		Mask: net.IPMask{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
	},
}

Defined In

Frequently Asked Questions

What is the defaultTrustedCIDRs class?
defaultTrustedCIDRs is a class in the gin codebase, defined in gin.go.
Where is defaultTrustedCIDRs defined?
defaultTrustedCIDRs is defined in gin.go at line 39.

Analyze Your Own Codebase

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

Try Supermodel Free