client

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Auth libstar.Auth
	Host string
}

func (Client) GetJSON

func (cl Client) GetJSON(client *libstar.HttpClient, v interface{}) error

func (Client) NewRequest

func (cl Client) NewRequest(url string) *libstar.HttpClient

type DHCPLease

type DHCPLease struct {
	Client
}

func (DHCPLease) Get

func (api DHCPLease) Get(data *schema.DHCPLeases) error

func (DHCPLease) Url

func (api DHCPLease) Url() string

type Instance

type Instance struct {
	Client
	Name string
}

func (Instance) Get

func (api Instance) Get(data *schema.ListInstance) error

func (Instance) Url

func (api Instance) Url() string

type ProxyTcp

type ProxyTcp struct {
	Client
}

func (ProxyTcp) Get

func (api ProxyTcp) Get(data *[]schema.Target) error

func (ProxyTcp) Url

func (api ProxyTcp) Url() string

Jump to

Keyboard shortcuts

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