Documentation
¶
Overview ¶
Copyright 2025 The Go MCP SDK Authors. All rights reserved. Use of this source code is governed by the license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLoopback ¶ added in v1.4.0
func IsPrivateOrReserved ¶
IsPrivateOrReserved reports whether ip belongs to a range that must not be reachable through a server-controlled URL, as a defense against SSRF: private (RFC 1918 / RFC 4193 ULA), link-local (including the 169.254.169.254 cloud metadata endpoint), carrier-grade NAT, multicast, and the unspecified address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.