Skip to content
Snippets Groups Projects

Application framework qol update

Merged Fabian Seidl requested to merge application-framework-qol-update into master
Files
2
@@ -8,9 +8,10 @@ import (
// Event is a event that can be published via the event service as payload.
type Event struct {
ID uuid.UUID `json:"id,omitempty"`
EntityID uuid.UUID `json:"entity_id,omitempty"`
Type string `json:"type,omitempty"`
ID uuid.UUID `json:"id,omitempty"`
EntityID uuid.UUID `json:"entity_id,omitempty"`
Type string `json:"type,omitempty"`
PathsAndValuesMap map[string]string `json:"paths_and_values,omitempty"` // Used to monitor updates happening on YANG paths of network elements.
}
func getEventFromPayload(payload []byte) (*Event, error) {
Loading