util

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyMeta

func CopyMeta(src, dst map[string]string)

func GetFreePort

func GetFreePort() (port int, err error)

GetFreePort gets a free port.

func SliceByteToString

func SliceByteToString(b []byte) string

func StringToSliceByte

func StringToSliceByte(s string) []byte

func Unzip

func Unzip(data []byte) ([]byte, error)

Unzip unzips data.

func Zip

func Zip(data []byte) ([]byte, error)

Zip zips data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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