Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryResource ¶
func QueryResource(logger *zap.Logger, bus busTY.Plugin, resourceID, resourceType, command string, data interface{}, callBack func(item interface{}) bool, out interface{}, timeout time.Duration) error
QueryResource posts as request on response calls the callback
func QueryService ¶
func QueryService(logger *zap.Logger, bus busTY.Plugin, serviceTopic, resourceID, resourceType, command string, data interface{}, callBack func(item interface{}) bool, out interface{}, timeout time.Duration) error
QueryService posts as request to a service, on response calls the callback
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.