sgutils

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AmIInDockerContainer

func AmIInDockerContainer() bool

func CopyBytes

func CopyBytes(src []byte) []byte

func Hash added in v0.1.5

func Hash(key []byte, numBuckets int) int

func HashString added in v0.1.5

func HashString(key string, numBuckets int) int

func MkdirIfNotExist

func MkdirIfNotExist(dir string) error

func StringSliceHasString

func StringSliceHasString(slice []string, key string) bool

func TestETCDAddr

func TestETCDAddr() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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