client

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemotingClient

type RemotingClient struct {
	// contains filtered or unexported fields
}

RemotingClient handles communication with the remote server

func NewRemotingClient

func NewRemotingClient(serverURL string) *RemotingClient

NewRemotingClient creates a new remoting client

func (*RemotingClient) Login

func (rc *RemotingClient) Login(username, password string) error

Login authenticates with username and password

func (*RemotingClient) UploadData

func (rc *RemotingClient) UploadData(uploadData *model.UploadData) (bool, error)

UploadData uploads scan data to the server

func (*RemotingClient) VerifyEmail

func (rc *RemotingClient) VerifyEmail(email string) error

VerifyEmail verifies an email address with the server

func (*RemotingClient) VerifyLicense

func (rc *RemotingClient) VerifyLicense(licenseName string) error

VerifyLicense verifies a license name with the server

func (*RemotingClient) VerifyToken

func (rc *RemotingClient) VerifyToken(token string) error

VerifyToken verifies an authentication token

Jump to

Keyboard shortcuts

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