Versions in this module Expand all Collapse all v1 v1.3.0 Feb 9, 2021 Changes in this version + func AESDecrypt(message string, key string) (decrypted string, err error) + func AESEncrypt(message string, key string) (encrypted string, err error) v1.2.0 Sep 4, 2020 Changes in this version + func MakeError(contents ...interface{}) error + func WrapError(e error, contents ...interface{}) error + type WrappedError struct + func (we WrappedError) Error() string + func (we WrappedError) Unwrap() error v1.1.0 Sep 2, 2020 Changes in this version + type ByteBuffer struct + func NewByteBuffer(buf []byte) *ByteBuffer + func (buf *ByteBuffer) Make() []byte + func (buf *ByteBuffer) Progress(prog int) *ByteBuffer v1.0.0 Apr 13, 2020 Changes in this version + func AssertEqual(a interface{}, b interface{}) error + func AssertInequal(a interface{}, b interface{}) error + func BeheadStrings(sarr []string) (string, []string) + func JSONForHTTPRequest(object interface{}) *bytes.Reader + func MkTemp() string + func RandString(randopt string, length int) string + func ReadAllClose(clsr io.ReadCloser) ([]byte, error) + func ReadSufficient(rd io.Reader, buffer []byte, expectLen uint64) (uint64, error) + func WriteArbitraryStringToFile(filename string, content string, flag int) error + func WriteSufficient(wr io.Writer, buffer []byte, expectLen uint64) (uint64, error) + type LockedList struct + func NewLockedList() *LockedList + func (ll *LockedList) PopBack() interface{} + func (ll *LockedList) PopFront() interface{} + func (ll *LockedList) PushBack(elem interface{}) + func (ll *LockedList) PushFront(elem interface{}) + func (ll *LockedList) Size() int + type WaitOnce struct + func NewWaitOnce() *WaitOnce + func (w *WaitOnce) Do(fn func(interface{}), args interface{})