utils

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheDir

func CacheDir() string

CacheDir :

func FetchURL

func FetchURL(url string) ([]byte, error)

FetchURL returns HTTP response body

func GetDefaultLogDir

func GetDefaultLogDir() string

GetDefaultLogDir :

func SetLogger

func SetLogger(logToFile bool, logDir string, debug, logJSON bool) error

SetLogger :

Types

This section is empty.

Jump to

Keyboard shortcuts

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