# Functions
GetInfo gets information like the version and the enpoints for HTTP and SSH to ShellHub server.
No description provided by the author
NewAgent creates a new agent instance, requiring the ShellHub server's address to connect to, the namespace's tenant where device own and the path to the private key on the file system.
NewAgentWithConfig creates a new agent instance with all configurations.
No description provided by the author
NewSFTPServer creates a new SFTP server when a new session is created between the agent and the server.
# Constants
AgentPingDefaultInterval is the default time interval between ping on agent.
# Variables
AgentPlatform stores what platform the agent is running on.
AgentVersion store the version to be embed inside the binary.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
Config provides the configuration for the agent service.
ModeConnector is the Agent execution mode for `Connector`.
ModeHost is the Agent execution mode for `Host`.
No description provided by the author
# Interfaces
Mode is the Agent execution mode.