common

package
v0.0.0-...-7b16d43 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log *logrus.Logger
)

Functions

func Delete

func Delete(inUrl string) (data []byte, err error)

func Get

func Get(inUrl string) (data []byte, err error)

func GetConf

func GetConf() *config

func LoadFileUnmarshal

func LoadFileUnmarshal(path string, ret interface{}) error

func Post

func Post(inHead, inBody string) (data []byte, err error)

func Put

func Put(inHead, inBody string) (data []byte, err error)

func SaveFileMarshal

func SaveFileMarshal(path string, content interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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