x11

package
Version: v0.0.0-...-c7fba9c Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: GPL-3.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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL