Documentation ¶
Overview ¶
Package corsrfc1918 modifications to Fetch which are intended to mitigate the risks associated with unintentional exposure of devices and servers on a client’s internal network to the web at large.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressSpace ¶
type AddressSpace int
enum: AddressSpace
const ( LocalAddressSpace AddressSpace = iota PrivateAddressSpace PublicAddressSpace )
func AddressSpaceFromJS ¶
func AddressSpaceFromJS(value js.Value) AddressSpace
AddressSpaceFromJS is converting a javascript value into a AddressSpace enum value.
func (*AddressSpace) JSValue ¶
func (this *AddressSpace) JSValue() js.Value
JSValue is converting this enum into a javascript object
func (AddressSpace) Value ¶
func (this AddressSpace) Value() string
Value is converting this into javascript defined string value
Click to show internal directories.
Click to hide internal directories.