Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "1.1.0" Repo = "https://github.com/UnnoTed/wireguird" TunnelsPath = "/etc/wireguard/" IconPath = "/opt/wireguird/Icon/" )
Variables ¶
View Source
var ( Connected = false Settings = &settings.Settings{} )
Functions ¶
func Create ¶
func Create(app *gtk.Application, b *gtk.Builder, w *gtk.ApplicationWindow, ind *appindicator.Indicator) error
Types ¶
type Tunnels ¶
type Tunnels struct {
Interface struct {
Status *gtk.Label
PublicKey *gtk.Label
ListenPort *gtk.Label
Addresses *gtk.Label
DNS *gtk.Label
}
Peer struct {
PublicKey *gtk.Label
AllowedIPs *gtk.Label
Endpoint *gtk.Label
LatestHandshake *gtk.Label
Transfer *gtk.Label
}
Settings struct {
MultipleTunnels *gtk.CheckButton
StartOnTray *gtk.CheckButton
CheckUpdates *gtk.CheckButton
}
ButtonChangeState *gtk.Button
// contains filtered or unexported fields
}
func (*Tunnels) ActiveDeviceName ¶
func (*Tunnels) FromSettings ¶ added in v1.0.0
func (*Tunnels) ScanTunnels ¶ added in v0.2.0
func (*Tunnels) ToSettings ¶ added in v1.0.0
func (t *Tunnels) ToSettings()
func (*Tunnels) UnknownLabels ¶
func (t *Tunnels) UnknownLabels()
func (*Tunnels) UpdateRow ¶
func (t *Tunnels) UpdateRow(row *gtk.ListBoxRow)
Click to show internal directories.
Click to hide internal directories.