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) Delete(profile string) error
- func (s *State) Leave()
- func (s *State) Profile() string
- func (s *State) Reach(ctx context.Context) error
- func (s *State) Running() string
- func (s *State) SetBackend(profile, backend string) error
- func (s *State) Unreached() string
- func (s *State) Use(profile string) error
- 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 between runs for each profile apart from its settings: the server its apps run on, which each profile sets for itself in a file of its folder only its user reads. A process reads the choice of its profile once as it starts and runs on that server until it ends, so a choice changed meanwhile, by it or by any other window, is for the windows started after
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 profile's apps run on from their next start, empty for icebath's own; the profile in use when none is named
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) Leave ¶
func (s *State) Leave()
Leaves the server this process was set to run on for this run, which runs on icebath's own instead
func (*State) Reach ¶
Checks that the server this process was set to run on answers and takes its password, keeping why when it does not
func (*State) SetBackend ¶
Sets the server the profile's apps run on from their next start, empty for icebath's own; the profile in use when none is named. What this process and the windows open now run on stays as it is
func (*State) Unreached ¶
Why the server this process was set to run on could not be used as it started, empty when it could
Directories
¶
| Path | Synopsis |
|---|---|
|
Page of Server in the settings menu: which icebath server the windows of a profile run on, its own or one on another computer, and the address and password that other apps reach this computer's with
|
Page of Server in the settings menu: which icebath server the windows of a profile run on, its own or one on another computer, and the address and password that other apps reach this computer's with |