Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOrigin ¶
GetOrigin is like GetWebOrigin but it also accepts non-web URLs, like custom URL schemes for apps.
func GetWebOrigin ¶
GetWebOrigin takes a URL and returns a string to use to match web origins. The definition of the web origin is quite complex so you should refer to the test cases of this lib to see how it works.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.