utils

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HTTPS_INSECURE = false // turn on for debug (only!)

Functions

func FromBase64

func FromBase64(in []byte) ([]byte, error)

func FullPipe

func FullPipe(a io.ReadWriteCloser, b io.ReadWriteCloser)

func HttpsGet

func HttpsGet(url string) (status int, body []byte, err error)

func HttpsPost

func HttpsPost(url string, values map[string][]string) (status int, body []byte, err error)

func IsHTTPS

func IsHTTPS(url string) bool

func RandSeq

func RandSeq(n int) string

func ToBase64

func ToBase64(in []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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