We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello
From the doc and the source code the return object from a plugin is:
type EventMsg struct { Name string `json:"name,omitempty"` Timestamp int64 `json:"timestamp,omitempty"` Tags map[string]string `json:"tags,omitempty"` Values map[string]interface{} `json:"values,omitempty"` Deletes []string `json:"deletes,omitempty"` }
I was expected to be able to return any thing as a value however it breaks compatibility with based gnmic code.
I suggest to add information in the doc to restrict type as base type (int,float,string)
The text was updated successfully, but these errors were encountered:
openconfig#616 - Specify return type for EventMsg.Values for custom p…
577ca21
…lugin
No branches or pull requests
Hello
From the doc and the source code the return object from a plugin is:
I was expected to be able to return any thing as a value however it breaks compatibility with based gnmic code.
I suggest to add information in the doc to restrict type as base type (int,float,string)
The text was updated successfully, but these errors were encountered: