- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for NewPostgreSQLTarget (0.09 seconds)
-
internal/event/target/postgresql.go
} yes, err := target.isActive() if err != nil { return err } if !yes { return store.ErrNotConnected } return nil } // NewPostgreSQLTarget - creates new PostgreSQL target. func NewPostgreSQLTarget(id string, args PostgreSQLArgs, loggerOnce logger.LogOnce) (*PostgreSQLTarget, error) { params := []string{args.ConnectionString} if args.ConnectionString == "" { params = []string{}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 13.3K bytes - Click Count (0) -
internal/config/notify/parse.go
if err != nil { return nil, err } for id, args := range postgresTargets { if !args.Enable { continue } t, err := target.NewPostgreSQLTarget(id, args, logOnceIf) if err != nil { return nil, err } targets = append(targets, t) } case config.NotifyRedisSubSys: redisTargets, err := GetNotifyRedis(cfg[config.NotifyRedisSubSys])Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 47.5K bytes - Click Count (0)