Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T struct {
	Role     string       `json:"role,omitempty"`
	Addr     *texturl.URL `json:"address,omitempty"`
	Pubkey   jsonb.PK     `json:"pubkey,omitempty"`
	Versions Versions     `json:"versions,omitempty"`
	Key      string       `json:"key,omitempty"`
	// Update channel for the relay, used in determining the update version to
	// Upgrade channel for the relay, used in determining the upgrade version to
	// push from the directory. Can be empty, in which case it's taken to be
	// default. (DEPRECATED)
	Channel string `json:"update_channel,omitempty"`
	// Upgrade channel for the relay, used in determining the upgrade version to
	// push from the directory. Can be empty, in which case it's taken to be
	// "default".
	UpgradeChannel string `json:"upgrade_channel,omitempty"`
}
    type Versions ¶ added in v0.2.2
type Versions struct {
	Software      *semver.Version `json:"software,omitempty"`
	ClientRelay   *semver.Version `json:"client-relay,omitempty"`
	RelayRelay    *semver.Version `json:"relay-relay,omitempty"`
	RelayDir      *semver.Version `json:"relay-dir,omitempty"`
	RelayContract *semver.Version `json:"relay-contract,omitempty"`
}
     Click to show internal directories. 
   Click to hide internal directories.