utils

package
v1.0.0-percom23 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEtcdClient

func GetEtcdClient() (*clientv3.Client, error)

func GetIpAddress

func GetIpAddress() (ipv4 net.IP)

func PostJson

func PostJson(url string, body []byte) (*http.Response, error)

func PrintJsonResponse

func PrintJsonResponse(resp io.ReadCloser)

func Tar

func Tar(src string, of *os.File) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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