Documentation ¶
Index ¶
- func CreateMinioClient(host string, port int, accessKeyId string, accessKeyKey string) *minio.Client
- func CreatePostgresConn(host string, port int, username string, password string, dbName string) (*gorm.DB, error)
- func CreateRedisClient(host string, port int, password string, pDB int) *redis.Pool
- func CreateSQLite3Conn(dbPath string) (*gorm.DB, error)
- func CreateSmsClient(secretId, secretKey, region string) (*sms.Client, error)
- func CreateSmsRequest(appId, sign, templateId, pPhone string, pCode []string) *sms.SendSmsRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMinioClient ¶
func CreatePostgresConn ¶
func CreateRedisClient ¶
func CreateSQLite3Conn ¶
dbPath: ./data/test.db
func CreateSmsClient ¶
func CreateSmsRequest ¶
func CreateSmsRequest(appId, sign, templateId, pPhone string, pCode []string) *sms.SendSmsRequest
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.