utils

package
v0.0.0-...-77276c9 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePassword

func GeneratePassword(size int) string

GeneratePassword generate password.

func NewVerboseRoundTripper

func NewVerboseRoundTripper(parent http.RoundTripper) http.RoundTripper

NewVerboseRoundTripper is a wrapper around http.RoundTripper that logs request and response

func SanitizeDSN

func SanitizeDSN(dsn string) string

SanitizeDSN removes password from DSN.

Types

This section is empty.

Jump to

Keyboard shortcuts

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