string

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(haystack []string, needle string, caseinsensitive bool) bool

Contains returns true if needle is found in haystack based on caseinsensitive

func Mask

func Mask(s string) string

func MaskHeaders

func MaskHeaders(h http.Header, maskHeaders []string) map[string]string

MaskHeaders will return a stringified version of headers masking the headers passed in by name

func SHA256 added in v0.0.6

func SHA256(data []byte, extra ...[]byte) string

SHA256 will return a sha 256 hash of the data in hex format

Types

This section is empty.

Jump to

Keyboard shortcuts

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