internal

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientAndInfo

func GetClientAndInfo(acc string) (*vault.Vault, *vault.AccountInfo, *api.API, error)

GetClientAndInfo is a simple wrapper that will fetch the vault, account info from the given vault and an authenticated api client. Since this is used a lot, we created a separate function for this. This will take care of a lot of code duplication.

func JwtJSONErrorFunc

func JwtJSONErrorFunc(_ *http.Request, resp *http.Response)

JwtJSONErrorFunc is the generic error handler that will catch any timing issues with the clock

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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