- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for SendFromStore (0.15 sec)
-
internal/event/target/mysql.go
if err != nil { return err } _, err = target.insertStmt.Exec(eventTime, data) return err } return nil } // SendFromStore - reads an event from store and sends it to MySQL. func (target *MySQLTarget) SendFromStore(key store.Key) error { if err := target.init(); err != nil { return err } _, err := target.isActive() if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 11.6K bytes - Viewed (0) -
internal/event/target/nats.go
} else { err = target.natsConn.Publish(target.args.Subject, data) } } return err } // SendFromStore - reads an event from store and sends it to Nats. func (target *NATSTarget) SendFromStore(key store.Key) error { if err := target.init(); err != nil { return err } _, err := target.isActive() if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 12.9K bytes - Viewed (0) -
internal/event/target/elasticsearch.go
} if target.args.Format == event.AccessFormat { return target.client.addEntry(ctx, target.args.Index, eventData) } return nil } // SendFromStore - reads an event from store and sends it to Elasticsearch. func (target *ElasticsearchTarget) SendFromStore(key store.Key) error { if err := target.init(); err != nil { return err } ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 15K bytes - Viewed (0) -
internal/logger/target/http/http.go
h.config.Transport = ctransport } h.client = &http.Client{Transport: h.config.Transport} return h, nil } // SendFromStore - reads the log from store and sends it to webhook. func (h *Target) SendFromStore(key store.Key) (err error) { var eventData []byte eventData, err = h.store.GetRaw(key) if err != nil { if os.IsNotExist(err) { return nil } return err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 15.6K bytes - Viewed (0) -
internal/event/targetlist.go
maxConcurrentAsyncSend = 50000 ) // Target - event target interface type Target interface { ID() TargetID IsActive() (bool, error) Save(Event) error SendFromStore(store.Key) error Close() error Store() TargetStore } // TargetStore is a shallow version of a target.Store type TargetStore interface { Len() int }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.2K bytes - Viewed (0)