zoroark

package module
v0.0.0-...-3cf66e7 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 6 Imported by: 0

README

zoroark

# No auth
docker run -e DISPLAY=host.docker.internal:0 xeyes

# For auth...
# Get cookie
xauth list
$HOSTNAME:0  MIT-MAGIC-COOKIE-1  $COOKIE
...

# Add entry in container (somehow; could mount or run this command while inside)
xauth add host.docker.internal:0  MIT-MAGIC-COOKIE-1  $COOKIE

NO way to use graphical Steam installation's authenticated session with steamcmd: must prompt for re-login.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Semver = "0.1.0"

Semver is the semantic version of zoroark. Meant to be be overridden at build time, but kept up-to-date sometimes to best support `go install`.

Functions

func GetSemver

func GetSemver() string

GetSemver returns the semantic version of zoroark as built from Semver and debug build info.

func WithLogger

func WithLogger(ctx context.Context, logger Logger) context.Context

WithLogger returns a Context from the parent Context with the given Logger inside of it.

Types

type Logger

type Logger = logr.Logger

Logger is an alias to logr.Logger in case the logging library is desired to be swapped out.

func LoggerFrom

func LoggerFrom(ctx context.Context) Logger

LoggerFrom returns a Logger embedded within the given Context or a no-op Logger if no such Logger exists.

func NewLogger

func NewLogger() Logger

NewLogger creates a new Logger.

Directories

Path Synopsis
cmd
encoding
vdf
internal
x

Jump to

Keyboard shortcuts

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