device

package
v0.0.0-...-6617f65 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDevice

func RegisterDevice(token string) bool

Types

type RegisterDeviceReq

type RegisterDeviceReq struct {
	Device struct {
		UUID        string `json:"uuid"`
		Name        string `json:"name"`
		ServicePort int    `json:"service_port"`
		PublicKey   string `json:"public_key"`
	} `json:"device"`
}

Jump to

Keyboard shortcuts

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