Documentation ¶
Index ¶
- func BoolToBytes(boolean bool) []byte
- func BytesToBool(value []byte) bool
- func BytesToInt64(b []byte) int64
- func DecodeBasicAuth(authorization string) (username string, password string, err error)
- func EncodeBasicAuth(username string, password string) string
- func EncodePassword(username string, password string) string
- func GeneralKey(key string) []byte
- func GeneralToken(key string) string
- func Int64ToBytes(i int64) []byte
- func IsDirExists(path string) bool
- func IsEmptyValue(v reflect.Value) bool
- func NowToBytes() []byte
- func SendEmail(email *Email) error
- func TimeToBytes(now time.Time) []byte
- func ToString(args ...interface{}) string
- type Email
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToBytes ¶
func BytesToBool ¶
func BytesToInt64 ¶
func DecodeBasicAuth ¶
decode the authorization string
func EncodeBasicAuth ¶
Encode the authorization string
func EncodePassword ¶
func GeneralKey ¶
func GeneralToken ¶
func Int64ToBytes ¶
func IsDirExists ¶
func IsEmptyValue ¶
func NowToBytes ¶
func NowToBytes() []byte
func TimeToBytes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.