str

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64Decode

func Base64Decode(val string) string

func Base64Encode

func Base64Encode(val string) string

func Decode

func Decode(data []byte, to interface{}) error

func Encode

func Encode(data interface{}) ([]byte, error)

func GobDecode

func GobDecode(data []byte, to interface{}) error

func GobEncode

func GobEncode(data interface{}) ([]byte, error)

func JsonDecode

func JsonDecode(data []byte, to interface{}) error

func JsonEncode

func JsonEncode(data interface{}) ([]byte, error)

func Md5

func Md5(str string) string

md5 hash string

func Md5byte added in v0.5.0

func Md5byte(b []byte) string

md5 hash string

func Token

func Token(key string, val []byte, args ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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