Documentation
¶
Index ¶
- type RemotingClient
- func (rc *RemotingClient) Login(username, password string) error
- func (rc *RemotingClient) UploadData(uploadData *model.UploadData) (bool, error)
- func (rc *RemotingClient) VerifyEmail(email string) error
- func (rc *RemotingClient) VerifyLicense(licenseName string) error
- func (rc *RemotingClient) VerifyToken(token string) error
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
Click to show internal directories.
Click to hide internal directories.