Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
Servers []domain.Server `json:"servers"`
Commands []domain.QuickCommand `json:"commands"`
GPCI string `json:"gpci"`
}
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) EnsureGPCI ¶ added in v0.1.4
EnsureGPCI creates and persists a client identifier when loading a legacy data file that does not have one yet.
func (*Store) RefreshGPCI ¶ added in v0.1.4
RefreshGPCI replaces the persisted client identifier. Existing connections keep the value that was sent during their handshake; subsequent connections use the new value.