mirror of
https://github.com/sstent/go-garth-cli.git
synced 2026-01-27 17:42:12 +00:00
sync
This commit is contained in:
11
internal/api/client/http_client.go
Normal file
11
internal/api/client/http_client.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"io"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
// HTTPClient defines the interface for HTTP operations
|
||||
type HTTPClient interface {
|
||||
ConnectAPI(path string, method string, params url.Values, body io.Reader) ([]byte, error)
|
||||
}
|
||||
Reference in New Issue
Block a user