netboxgo/netbox.go

14 lines
173 B
Go
Raw Normal View History

2019-09-11 09:19:24 +02:00
package nbclient
2019-09-10 22:32:20 +02:00
type NetBox struct {
RootURL string
2019-09-11 09:19:24 +02:00
Token string
}
func (n *NetBox) new(root, token string) error {
n.RootURL = root
n.Token = token
return nil
2019-09-10 22:32:20 +02:00
}