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 {
|
||||
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
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package nbclient
|
||||
package netboxgo
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package nbclient
|
||||
package netboxgo
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
|
|
Loading…
Reference in a new issue