forked from GoCodeAlone/modular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevents.go
More file actions
24 lines (20 loc) · 1010 Bytes
/
events.go
File metadata and controls
24 lines (20 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package httpclient
// Event type constants for httpclient module events.
// Following CloudEvents specification reverse domain notation.
const (
// Client lifecycle events
EventTypeClientCreated = "com.modular.httpclient.client.created"
EventTypeClientStarted = "com.modular.httpclient.client.started"
EventTypeClientConfigured = "com.modular.httpclient.client.configured"
// Request modifier events
EventTypeModifierSet = "com.modular.httpclient.modifier.set"
EventTypeModifierApplied = "com.modular.httpclient.modifier.applied"
EventTypeModifierAdded = "com.modular.httpclient.modifier.added"
EventTypeModifierRemoved = "com.modular.httpclient.modifier.removed"
// Module lifecycle events
EventTypeModuleStarted = "com.modular.httpclient.module.started"
EventTypeModuleStopped = "com.modular.httpclient.module.stopped"
// Configuration events
EventTypeConfigLoaded = "com.modular.httpclient.config.loaded"
EventTypeTimeoutChanged = "com.modular.httpclient.timeout.changed"
)