Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.Server.CheckAlive

Go

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server.go
Other languages
Python Ruby Lua TypeScript Rust Java.NET C++ Swift
CheckAlive ( ctx : context.Context ) → error
method [source]
method [source]
CheckAlive

CheckAlive returns a CommandError when the configured server is not alive. Cancellation and transport failures are returned directly. Use Server.IsAlive where an absent server is an answer rather than a failure.

In other ports Fail unless the server is answering

0 declared, 0 inherited

Esc

Type to search.