aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/enablement.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-11 19:21:55 +0900
committerOphestra <cat@gensokyo.uk>2026-03-11 19:21:55 +0900
commit330a344845aa8653772a9be6c085f4fdb602a028 (patch)
tree7ed7f60ad70121be51289cbe9043c003d1940e19 /hst/enablement.go
parent48cdf8bf852234ea3dad8dad3d571bb1d9546c32 (diff)
hst: improve doc comments
These now read a lot better both in source and on pkgsite. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/enablement.go')
-rw-r--r--hst/enablement.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/hst/enablement.go b/hst/enablement.go
index 9024078d..71ddecab 100644
--- a/hst/enablement.go
+++ b/hst/enablement.go
@@ -11,15 +11,17 @@ import (
type Enablement byte
const (
- // EWayland exposes a wayland pathname socket via security-context-v1.
+ // EWayland exposes a Wayland pathname socket via security-context-v1.
EWayland Enablement = 1 << iota
- // EX11 adds the target user via X11 ChangeHosts and exposes the X11 pathname socket.
+ // EX11 adds the target user via X11 ChangeHosts and exposes the X11
+ // pathname socket.
EX11
// EDBus enables the per-container xdg-dbus-proxy daemon.
EDBus
// EPipeWire exposes a pipewire pathname socket via SecurityContext.
EPipeWire
- // EPulse copies the PulseAudio cookie to [hst.PrivateTmp] and exposes the PulseAudio socket.
+ // EPulse copies the PulseAudio cookie to [hst.PrivateTmp] and exposes the
+ // PulseAudio socket.
EPulse
// EM is a noop.