rpcx: github.com/smallnest/rpcx/util Index | Files

package util

import "github.com/smallnest/rpcx/util"

Index

Package Files

compress.go converter.go net.go

func CopyMeta Uses

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

func GetFreePort Uses

func GetFreePort() (port int, err error)

GetFreePort gets a free port.

func SliceByteToString Uses

func SliceByteToString(b []byte) string

func StringToSliceByte Uses

func StringToSliceByte(s string) []byte

func Unzip Uses

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

Unzip unzips data.

func Zip Uses

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

Zip zips data.

Package util imports 6 packages (graph) and is imported by 3 packages. Updated 2019-09-19. Refresh now. Tools for package owners.