Documentation
¶
Index ¶
- Constants
- Variables
- func Decode(b []byte, v interface{})
- func DumpConfig(path string, t interface{}) error
- func EncodeToBytes(t interface{}) []byte
- func GetDirSeperator() string
- func GetRandomAsciiString(size int) string
- func GetRandomBytes(size int) []byte
- func GetSerial() *big.Int
- func IsSlice(arg interface{}) (reflect.Value, bool)
- func Itob(v int) []byte
- func LoadFromJsonFile(path string, t interface{}) error
- func StartWorker(f func(a ...interface{}), a ...interface{}) error
- func TestStringInput(str string) string
- func ToBytes(t interface{}) []byte
Constants ¶
View Source
const ( ENC_serialised = byte(1) ENC_string = byte(2) ENC_float = byte(3) ENC_int = byte(4) ENC_byteslice = byte(5) ENC_bool = byte(6) OSSP = string(os.PathSeparator) )
Variables ¶
View Source
var Base64Encode = base64.RawURLEncoding
Functions ¶
func DumpConfig ¶
func EncodeToBytes ¶
func EncodeToBytes(t interface{}) []byte
func GetDirSeperator ¶
func GetDirSeperator() string
func GetRandomAsciiString ¶
func GetRandomBytes ¶
func LoadFromJsonFile ¶
func StartWorker ¶
func StartWorker(f func(a ...interface{}), a ...interface{}) error
func TestStringInput ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.