You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
423 B
13 lines
423 B
package interfaces
|
|
|
|
import "context"
|
|
|
|
// Interface for sending requests to platform
|
|
type Caller interface {
|
|
// DecortApiCall method for sending requests to the platform
|
|
DecortApiCall(ctx context.Context, method, url string, params interface{}) ([]byte, error)
|
|
|
|
// DecortApiCallMP method for sending requests to the platform
|
|
DecortApiCallMP(ctx context.Context, method, url string, params interface{}) ([]byte, error)
|
|
}
|