package
0.0.0-20241211132004-e8c0171ace8f
Repository: https://github.com/dartmouth-openav/microservice-framework.git
Documentation: pkg.go.dev

# Functions

Prints the error and adds it the deviceErrors map.
External function to check if a connection exists.
No description provided by the author
No description provided by the author
Used for the Bravia microservice This function started from a tutorial: https://www.soberkoder.com/consume-rest-api-go/.
Can be called externally to get the cached value for a device endpoint.
No description provided by the author
No description provided by the author
Function to register the main package function.
Function to register the main package function.
Can be called externally to set the cached value for a device endpoint.
No description provided by the author
No description provided by the author

# Variables

All possible values are "Don't add another instance", "Remove older instance", or "Add another instance" microservices can override this in their own code by setting this global variable.
seconds.
No description provided by the author
No description provided by the author
Read end of line delimiter (defaults to carriage return if the microservice doesn't set it).
No description provided by the author
seconds (should be 300 after debugging).
No description provided by the author
No description provided by the author
milliseconds .
No description provided by the author
seconds.
seconds (should be 50 after debugging so it's a little faster than the orchestrator gets).
globals We've found sync.Map that could handle locking/unlocking by itself.
seconds (used to throttle function stack errors when network connectivity is gone) .
milliseconds.
No description provided by the author
tunables Use setFrameworkGlobals() in microservice.go to change these variables.
seconds.

# Type aliases

Define a type for the callback function.
No description provided by the author