s/nbclient/netboxgo/g
This commit is contained in:
parent
fdadc620e7
commit
b1803645b8
3 changed files with 4 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
package nbclient
|
package netboxgo
|
||||||
|
|
||||||
type NetBox struct {
|
type NetBox struct {
|
||||||
RootURL string
|
RootURL string
|
||||||
|
@ -6,10 +6,8 @@ type NetBox struct {
|
||||||
InsecureSkipVerify bool
|
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.RootURL = root
|
||||||
n.Token = token
|
n.Token = token
|
||||||
n.InsecureSkipVerify = TlsSkipVerify
|
n.InsecureSkipVerify = TlsSkipVerify
|
||||||
|
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package nbclient
|
package netboxgo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package nbclient
|
package netboxgo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
Loading…
Reference in a new issue