summaryrefslogtreecommitdiff
path: root/internal/easyhttp/easyhttp.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/easyhttp/easyhttp.go')
-rw-r--r--internal/easyhttp/easyhttp.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/easyhttp/easyhttp.go b/internal/easyhttp/easyhttp.go
index 7cd24ff..ca10a8e 100644
--- a/internal/easyhttp/easyhttp.go
+++ b/internal/easyhttp/easyhttp.go
@@ -43,3 +43,8 @@ func GetData[T any](uri, apiKey string, data *T) error {
return json.Unmarshal(bytes, data)
}
+
+// Submiut structure as JSON to API
+func SubmitData[T any](servers []string, uri, apiKey string, data *T) error {
+ return nil
+}