# tmux.ServerRef

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/068da4f165ba859294dac4cfbd77ee3f660ad78a/tmux/plan.go#L129
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-serverref/

```
func ServerRef() Ref
```

ServerRef returns a [Ref] addressing the tmux server, for the operations that document a server scope, such as [Plan.SetEnvironment] and [Plan.Cmd].
