remote_access

package
v1.1.45 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandLineParams

type CommandLineParams struct {
	Install     bool
	Uninstall   bool
	Update      bool
	Log         string
	NatsServers string
}

type Config

type Config struct {
	BaseUpdateUrl            string                        // BaseUpdateUrl where to download updates ex: https://update.plugis.com/ (must end with /)
	NatsServers              []string                      // list of nats servers, tries to connect from first to last
	NatsServices             []natsservice.NatsServiceIntf // nats services to launch
	HeartbeatMetas           map[string]interface{}        // metas to send with heartbeat
	MaintenanceServiceConfig maintenance.MaintenanceServiceConfig
}

RemoteAccessconfig holds the configuration parameters for remote-access service

type RemoteAccess

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

RemoteAccess holds data for a remote-access process

func NewRemoteAccess

func NewRemoteAccess(config Config) *RemoteAccess

func (*RemoteAccess) Run

func (ra *RemoteAccess) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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