1
0
mirror of https://github.com/mayflower/docker-ls.git synced 2025-11-28 00:01:09 +03:00
Files
docker-ls/lib/connector/connector.go
2016-02-26 10:56:49 +01:00

14 lines
301 B
Go

package connector
import (
"net/http"
"net/url"
)
type Connector interface {
Request(method string, url *url.URL, hint string) (*http.Response, error)
Delete(url *url.URL, hint string) (*http.Response, error)
Get(url *url.URL, hint string) (*http.Response, error)
GetStatistics() Statistics
}