Documentation ¶
Index ¶
- Variables
- func FindFreePortTCP(startPort int) (string, int)
- func GetIconGdkPixbuf() *gdkpixbuf.Pixbuf
- func GetLogoGdkPixbuf() *gdkpixbuf.Pixbuf
- func GetRootCAFromFile(file string) (*x509.CertPool, error)
- func GetServerInsecure(addr string) string
- func GtkAboutDialog() *gtk.AboutDialog
- func SetDefaultGtkTheme()
- type Capabilities
- type RemotonClient
- func (c *RemotonClient) GetArch(args struct{}, reply *string) error
- func (c *RemotonClient) GetCapabilities(args struct{}, reply *Capabilities) error
- func (c *RemotonClient) GetExternalIP(args struct{}, reply *net.IP) (err error)
- func (c *RemotonClient) GetExternalPort(args struct{}, reply *int) error
- func (c *RemotonClient) GetOS(args struct{}, reply *string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRootCertifcate = errors.New("invalid root certificate")
)
Functions ¶
func FindFreePortTCP ¶
func GetIconGdkPixbuf ¶
func GetLogoGdkPixbuf ¶
func GetServerInsecure ¶
func GtkAboutDialog ¶
func GtkAboutDialog() *gtk.AboutDialog
func SetDefaultGtkTheme ¶
func SetDefaultGtkTheme()
Types ¶
type Capabilities ¶
type Capabilities struct { //XpraVersion of running client xpra XpraVersion string }
Capabilities for this client
type RemotonClient ¶
type RemotonClient struct { Capabilities *Capabilities NatIF nat.Interface }
func (*RemotonClient) GetArch ¶
func (c *RemotonClient) GetArch(args struct{}, reply *string) error
GetArch of running system it's the same runtime.GOARCH
func (*RemotonClient) GetCapabilities ¶
func (c *RemotonClient) GetCapabilities(args struct{}, reply *Capabilities) error
func (*RemotonClient) GetExternalIP ¶
func (c *RemotonClient) GetExternalIP(args struct{}, reply *net.IP) (err error)
func (*RemotonClient) GetExternalPort ¶
func (c *RemotonClient) GetExternalPort(args struct{}, reply *int) error
func (*RemotonClient) GetOS ¶
func (c *RemotonClient) GetOS(args struct{}, reply *string) error
GetOS of running system it's the same runtime.GOOS
Click to show internal directories.
Click to hide internal directories.