Switch to golang/dep.
This commit is contained in:
parent
d88554fa92
commit
044d87d96d
239 changed files with 42372 additions and 7011 deletions
2
vendor/gopkg.in/ns1/ns1-go.v2/rest/model/doc.go
generated
vendored
Normal file
2
vendor/gopkg.in/ns1/ns1-go.v2/rest/model/doc.go
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
// Package model defines structures for interacting with the NS1 API.
|
||||
package model
|
15
vendor/gopkg.in/ns1/ns1-go.v2/rest/model/stat.go
generated
vendored
Normal file
15
vendor/gopkg.in/ns1/ns1-go.v2/rest/model/stat.go
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
package model
|
||||
|
||||
// // GetQPSStats returns current queries per second (QPS) for the account
|
||||
// func (c APIClient) GetQPSStats() (v float64, err error) {
|
||||
// var s map[string]float64
|
||||
// _, err = c.doHTTPUnmarshal("GET", "https://api.nsone.net/v1/stats/qps", nil, &s)
|
||||
// if err != nil {
|
||||
// return v, err
|
||||
// }
|
||||
// v, found := s["qps"]
|
||||
// if !found {
|
||||
// return v, errors.New("Could not find 'qps' key in returned data")
|
||||
// }
|
||||
// return v, nil
|
||||
// }
|
Loading…
Add table
Add a link
Reference in a new issue