blob: f88c8ff2f2d6e23fa2c1cfe357c55ea06367ce54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
}
|