ACME TLS ALPN
This commit is contained in:
parent
17ad5153b8
commit
139f280f35
258 changed files with 25528 additions and 1516 deletions
19
vendor/github.com/OpenDNS/vegadns2client/main.go
generated
vendored
Normal file
19
vendor/github.com/OpenDNS/vegadns2client/main.go
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
package vegadns2client
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"time"
|
||||
)
|
||||
|
||||
// NewVegaDNSClient - helper to instantiate a client
|
||||
// Input: url string
|
||||
// Output: VegaDNSClient
|
||||
func NewVegaDNSClient(url string) VegaDNSClient {
|
||||
httpClient := http.Client{Timeout: 15 * time.Second}
|
||||
return VegaDNSClient{
|
||||
client: httpClient,
|
||||
baseurl: url,
|
||||
version: "1.0",
|
||||
token: Token{},
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue