Documentation
¶
Index ¶
- func Address(backend string) string
- type State
- func (s *State) Answers(ctx context.Context, cfg *config.Config, backend string) error
- func (s *State) Backend(profile string) (string, error)
- func (s *State) Connected(profile, running, unreached string)
- func (s *State) Delete(profile string) error
- func (s *State) OnChange(fn func(profile string))
- func (s *State) Profile() string
- func (s *State) Reach(ctx context.Context, profile, backend string) error
- func (s *State) Running() string
- func (s *State) SetBackend(profile, backend string) error
- func (s *State) Unreached() string
- func (s *State) Waiting(wait func() time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
What icebath keeps for each profile apart from its settings: the server the windows of this computer on it run on, which each profile sets for itself in a file of its folder only its user reads. The terminal's window connects to the server its profile names as it starts and again whenever it switches to a profile that names another, or the person sets another for its profile
func (*State) Answers ¶
Whether the server at the address answers and takes its password, asked through the proxy and with the authorities of the environment of the profile of the settings
func (*State) Backend ¶
Server the windows of this computer on the profile run on, empty for each terminal's own; the window's profile when none is named
func (*State) Connected ¶
Says the window of this terminal is on the profile and runs on the server, empty for this terminal's own, and why the server its profile names could not be used, empty when it could
func (*State) Delete ¶
Removes the state of a deleted profile, so a folder of it that could not be removed names no server
func (*State) Profile ¶
Profile the window of this terminal is on, the one the process started on before the window connects
func (*State) Reach ¶
Checks that the server at the address answers and takes its password within the wait the window's settings give, asked through the proxy and with the authorities of the environment of the profile
func (*State) SetBackend ¶
Sets the server the windows of this computer on the profile run on, empty for each terminal's own; the window's profile when none is named. The window of this terminal connects again when it is on that profile
Directories
¶
| Path | Synopsis |
|---|---|
|
Page of Server in the settings menu: which icebath server the terminals of a profile use, their own or one on another computer, and the address and password other apps use to reach this computer's server
|
Page of Server in the settings menu: which icebath server the terminals of a profile use, their own or one on another computer, and the address and password other apps use to reach this computer's server |