Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

struct libtmux-go latest

ServerAccessRequest

ServerAccessRequest configures tmux server access control. Its zero value is invalid: List or exactly one nonempty Allow or Deny is required. Allow and Deny, and ReadOnly and Write, are mutually exclusive; nil pointers omit their selectors while explicit empty users are rejected. List selects the returned-list path, but compatible selector and mode flags are still sent to tmux rather than ignored.

Source and package
Qualified name
tmux.ServerAccessRequest
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_clients.go
struct tmux.ServerAccessRequest

Fields5#

ServerAccessRequest fields
NameTypeDescription
Allow *string Allow grants the named user access.
Deny *string Deny revokes the named user's access.
List bool List returns the configured access entries instead of mutating them.
ReadOnly bool ReadOnly grants read-only access to the selected user.
Write bool Write grants write access to the selected user.
Esc

Type to search.

Reference previewOpen reference