s/nbclient/netboxgo/g

This commit is contained in:
Kalle Carlbark 2019-09-11 20:12:42 +02:00
parent fdadc620e7
commit b1803645b8
No known key found for this signature in database
GPG key ID: 3FC0C93C5A5A0670
3 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,4 @@
package nbclient
package netboxgo
type NetBox struct {
RootURL string
@ -6,10 +6,8 @@ type NetBox struct {
InsecureSkipVerify bool
}
func (n *NetBox) New(root, token string, TlsSkipVerify bool) error {
func (n *NetBox) New(root, token string, TlsSkipVerify bool) {
n.RootURL = root
n.Token = token
n.InsecureSkipVerify = TlsSkipVerify
return nil
}

View file

@ -1,4 +1,4 @@
package nbclient
package netboxgo
import (
"crypto/tls"

View file

@ -1,4 +1,4 @@
package nbclient
package netboxgo
import (
"bytes"