util

package
v0.0.0-...-b8869b4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePrivateKey

func ParsePrivateKey(pemData string) (*rsa.PrivateKey, error)

ParsePrivateKey will parse a private key out of pem data in either PKCS1 or PKCS8 form

func WaitForRedirect

func WaitForRedirect(rawURL string, handler func(w http.ResponseWriter, r *http.Request)) error

WaitForRedirect will open a url with a `redirect_to` query string param that gets handled by handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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