diff options
Diffstat (limited to 'vendor/github.com/wybiral/torgo/onion.go')
| -rw-r--r-- | vendor/github.com/wybiral/torgo/onion.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/github.com/wybiral/torgo/onion.go b/vendor/github.com/wybiral/torgo/onion.go new file mode 100644 index 0000000..f88c8ff --- /dev/null +++ b/vendor/github.com/wybiral/torgo/onion.go @@ -0,0 +1,13 @@ +package torgo + +// Onion represents a hidden service. +type Onion struct { + // Ports maps virtual ports for the hidden service to local addresses. + Ports map[int]string + // ServiceID is the unique hidden service address (without ".onion" ending). + ServiceID string + // Base64 encoded private key for the hidden service. + PrivateKey string + // Type of private key (RSA1024 or ED25519-V3). + PrivateKeyType string +} |
