netbox

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetboxAt

func NewNetboxAt(host string) *client.NetBox

NewNetboxAt returns a client which will connect to the given hostname, which can optionally include a port, e.g. localhost:8000

func NewNetboxWithAPIKey

func NewNetboxWithAPIKey(host string, apiToken string) *client.NetBox

NewNetboxWithAPIKey returna client which will connect to the given hostname (and optionally port), and will set the expected Authorization header on each request

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL