utils

package
v0.0.0-...-15a64de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupAddr

func LookupAddr(user string) (saltyim.Addr, error)

LookupAddr performs a lookup of a Salty Addr directly and if the request fails for whatever reason (usuaully due to Cross-Orogin-Resource-Sharing policies / CORS) it uses the Salty Broker the PWA was served from initially to perform the lookup by proxying the lookup through the broker. Why? CORS sucks.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL