common

package
v0.0.0-...-692f6c4 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: GPL-3.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TryError

func TryError(callBack func(), errorFunc func(error))

func TryFinally

func TryFinally(callBack func(), finallyFunc func())

Types

type Crypter

type Crypter struct {
	// contains filtered or unexported fields
}

func NewCrypter

func NewCrypter(key []byte) *Crypter

func (*Crypter) Decrypt

func (this *Crypter) Decrypt(value []byte) []byte

func (*Crypter) Encrypt

func (this *Crypter) Encrypt(value []byte) []byte

Jump to

Keyboard shortcuts

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