utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashFNV

func HashFNV(s string) string

HashFNV generates a new 64-bit number from a given string using 64-bit FNV-1a hash function.

func HashSHA

func HashSHA(s string) []byte

HashSHA generates a new slice of byte hash from a given string using SHA256 hash algorithms.

func Path

func Path(keys ...string) string

Path returns a etcd key path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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