mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
make method to get data out of a module
This commit is contained in:
@@ -127,3 +127,7 @@ func (mc *MQTTClient) Output(ctx context.Context, payload any) error {
|
||||
func (mc *MQTTClient) Stop() {
|
||||
mc.cancel()
|
||||
}
|
||||
|
||||
func (mc *MQTTClient) Get(key string) (any, error) {
|
||||
return nil, errors.New("mqtt.client does not support Get")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user