utils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildEndPoint

func BuildEndPoint(host, port string) string

func Bytes2Str

func Bytes2Str(bytes []byte) string

func GetHost

func GetHost(addr string) string

func GetLocalIp

func GetLocalIp() string

func GetPort

func GetPort(addr string) string

func Int2Str

func Int2Str(i int64) string

func NameOfFunction

func NameOfFunction(f interface{}) string

func ObjToBytes

func ObjToBytes(obj interface{}) []byte

func ObjToStr

func ObjToStr(obj interface{}) string

func ResolveAddress

func ResolveAddress(addr []string) string

func Str2bytes

func Str2bytes(str string) []byte

func Uuid

func Uuid() string

func WatchSignal

func WatchSignal()

Types

This section is empty.

Jump to

Keyboard shortcuts

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