Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitHostPort ¶
Types ¶
type DBClient ¶
func Mysql ¶
func Mysql(dsn ExternalDSN) (*DBClient, error)
func Postgres ¶
func Postgres(dsn ExternalDSN) (*DBClient, error)
type ExternalDSN ¶
type MongoClient ¶
func MongoDB ¶
func MongoDB(dsn MongoDSN) (*MongoClient, error)
type RedisClient ¶
type RedisClient struct {
redis.UniversalClient
}
func Redis ¶
func Redis(dsn RedisDSN) (*RedisClient, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.