blob: f5b68ead84a24653eaff6b95da3f6b223c2450f1 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
 | package coinbase
import (
	"net/http"
)
// Authenticator is an interface that objects can implement in order to act as the
// authentication mechanism for RPC requests to Coinbase
type authenticator interface {
	getBaseUrl() string
	getClient() *http.Client
	authenticate(req *http.Request, endpoint string, params []byte) error
}
 |