utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(in string, obj interface{}) error

Decode decodes the input from base64 It can optionally unzip the input after decoding

func Encode

func Encode(obj interface{}) (string, error)

Encode encodes the input in base64 It can optionally zip the input before encoding

func HTTPSDPServer

func HTTPSDPServer() chan string

HTTPSDPServer starts a HTTP Server that consumes SDPs

func MustReadStdin

func MustReadStdin() (string, error)

MustReadStdin blocks until input is received from stdin

Types

This section is empty.

Jump to

Keyboard shortcuts

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