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