client

package
v0.0.0-...-fb108f3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalClient

type ExternalClient interface {
	InitInstance(name string, network string, domain string, devices []auth.UserDevice) (net.IP, ed25519.PublicKey, error)
}

ExternalClient talks to the external Protos API

func NewExternalClient

func NewExternalClient(host string, username string, password string) (ExternalClient, error)

NewExternalClient creates and returns a client for the external Protos API

func NewInitClient

func NewInitClient(host string, username string, password string) ExternalClient

NewInitClient creates and returns a client that's used to initialize an instance

Jump to

Keyboard shortcuts

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