utils

package
v1.7.1-0...-cd42b1d Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: AGPL-3.0 Imports: 8 Imported by: 12

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