login

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package login provides login functionality for GPUd.

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyMachineID = errors.New("login request failed with empty machine ID")

Functions

func SendRequest added in v0.5.0

func SendRequest(ctx context.Context, endpoint string, req apiv1.LoginRequest) (*apiv1.LoginResponse, error)

SendRequest sends a login request and blocks until the login request is processed. It also validates the response field to ensure the login request is processed successfully.

Types

This section is empty.

Jump to

Keyboard shortcuts

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