UI fixes RIVM-8

This commit is contained in:
Mihail Slobodyanuk 2022-12-08 14:32:56 +02:00
parent 7cee94e5cb
commit f84f0a5f19
5 changed files with 54 additions and 8 deletions

View file

@ -192,6 +192,8 @@ func get_self(w webview.WebView) {
//found ipv6
fmt.Printf("IPv6: %s\n", res.IPAddress)
go setFieldValue(w, "ipv6", res.IPAddress)
go setFieldValue(w, "pub_key", res.PublicKey)
go setFieldValue(w, "priv_key", res.PrivateKey)
//found subnet
fmt.Printf("Subnet: %s\n", res.Subnet)
go setFieldValue(w, "subnet", res.Subnet)