Documentation ¶
Index ¶
- func CreateMongoClient(ctx context.Context, mongoConfig MongoConfig) *mongo.Client
- func CreatePostgresClient(ctx context.Context, postgresConfig PostgresConfig) *gorm.DB
- func CreateRedisClient(ctx context.Context, redisConfig RedisConfig) *redis.Client
- func CreateSentry(sentryConfig SentryConfig) error
- func NewKafkaConn(cfg *config.Config) (*kafka.Conn, error)
- func NewLauncher(launcherConfig LauncherConfig) *launcher.Launcher
- type Adapter
- type LauncherConfig
- type MongoConfig
- type PostgresConfig
- type RedisConfig
- type SentryConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMongoClient ¶
func CreateMongoClient(ctx context.Context, mongoConfig MongoConfig) *mongo.Client
func CreatePostgresClient ¶
func CreatePostgresClient(ctx context.Context, postgresConfig PostgresConfig) *gorm.DB
func CreateRedisClient ¶ added in v0.3.10
func CreateRedisClient(ctx context.Context, redisConfig RedisConfig) *redis.Client
func CreateSentry ¶ added in v0.3.0
func CreateSentry(sentryConfig SentryConfig) error
func NewKafkaConn ¶ added in v0.3.2
func NewLauncher ¶ added in v0.5.10
func NewLauncher(launcherConfig LauncherConfig) *launcher.Launcher
Types ¶
type LauncherConfig ¶ added in v0.5.10
type MongoConfig ¶ added in v0.5.10
type PostgresConfig ¶ added in v0.5.10
type RedisConfig ¶ added in v0.5.10
type SentryConfig ¶ added in v0.5.10
Click to show internal directories.
Click to hide internal directories.