x11auth

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 9 Imported by: 1

README

go-x11auth

About

Library for handling xauthority in Go. Since it is intended for use with go-sshlib, only some functions are implemented.

generate executes the xauth command.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XAuth

type XAuth struct {
	// environment $DISPLAY.
	// example: /private/tmp/hoge/unix:0
	Display string
}

func (*XAuth) GetXAuthCookie

func (x *XAuth) GetXAuthCookie(xauthorityPath string, trusted bool) (cookie string, err error)

getXAuthCookie

func (*XAuth) GetXAuthList

func (x *XAuth) GetXAuthList(xAuthorityFilePath string) (entries []xAuthEntry, err error)

getXAuthList

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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