v1.0.0
This commit is contained in:
9
interfaces/caller.go
Normal file
9
interfaces/caller.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user