x11

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MockXauthority

func MockXauthority(cookies int) (string, error)

MockXauthority will create a fake xauthority file and place it on a temporary path which is returned as result.

func ValidateXauthority

func ValidateXauthority(r io.Reader) error

ValidateXauthority validates a given Xauthority file. The file is valid if it can be parsed and contains at least one cookie.

func ValidateXauthorityFile

func ValidateXauthorityFile(path string) error

ValidateXauthority validates a given Xauthority file. The file is valid if it can be parsed and contains at least one cookie.

Types

This section is empty.

Jump to

Keyboard shortcuts

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