Adding AttributeS auth methods into DispatcherS, RouteID into CGREvent

This commit is contained in:
DanB
2019-02-03 12:32:01 +01:00
parent d38d1d17fd
commit 65331fb94f
2 changed files with 57 additions and 12 deletions

View File

@@ -27,12 +27,12 @@ import (
// CGREvent is a generic event processed by CGR services
type CGREvent struct {
Tenant string
ID string
Context *string // attach the event to a context
Time *time.Time // event time
DispatcherRoute *string // route over previous computed path
Event map[string]interface{}
Tenant string
ID string
Context *string // attach the event to a context
Time *time.Time // event time
RouteID *string // route over previous computed path
Event map[string]interface{}
}
func (ev *CGREvent) HasField(fldName string) (has bool) {