netbox

package
v0.0.0-...-6a0c184 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 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.NetBoxAPI

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.NetBoxAPI

NewNetboxWithAPIKey returns a 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.

Jump to

Keyboard shortcuts

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