This commit is contained in:
asteam
2024-10-01 11:15:36 +03:00
commit a25a3c2e5c
81 changed files with 5143 additions and 0 deletions

9
interfaces/caller.go Normal file
View File

@@ -0,0 +1,9 @@
package interfaces
import "context"
// Interface for sending requests to platform
type Caller interface {
// VControlApiCall method for sending requests to the platform
ApiCall(ctx context.Context, method, url string, params interface{}) ([]byte, error)
}