Documentation ¶
Index ¶
- func CheckPhoneIsValid(fl validator.FieldLevel) bool
- func CheckPwdIsValid(hashedPwd string, originPwd string) error
- func CreateMinioBucket(client *minio.Client, bucketName string) error
- func EncryptionPassword(originPwd string) (string, error)
- func FormatTime(pTime time.Time) string
- func FormatTimeMilliSec(pTime time.Time) string
- func FormatTimeNormal(pTime time.Time) string
- func GenRandToken() string
- func GenValidateCode(width int) string
- func GetContentType(fileName string) (contentType string)
- func GoTime2ProtoTime(goTime time.Time) *timestamp.Timestamp
- func HttpResponse(ctx *gin.Context, status int, data interface{}, msg string)
- func NewStringPoint(val string) *string
- func NewUint64Point(val uint64) *uint64
- func ProtoTime2GoTime(protoTime *timestamp.Timestamp) time.Time
- func UploadToMinio(client *minio.Client, bucketName string, fileName string, contentType string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPwdIsValid ¶
func CreateMinioBucket ¶
func EncryptionPassword ¶
func FormatTime ¶
func FormatTimeMilliSec ¶
func FormatTimeNormal ¶
func GetContentType ¶
func NewStringPoint ¶
func NewUint64Point ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.