Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPublicKeyBase32 ¶
GetPublicKeyBase32 decodes the private key string from hexadecimal format and returns the base32 encoded public key obtained using the provided private key. The base32 encoding has no padding. If there is an error decoding the private key or generating the public key, an error is returned.
Types ¶
type Exit ¶
type Exit struct {
// contains filtered or unexported fields
}
Exit represents a structure that holds information related to an exit node.
func (*Exit) DeleteEvent ¶
func (*Exit) ListenAndServe ¶
ListenAndServe handles incoming events from the subscription channel. It processes each event by calling the processMessage method, as long as the event is not nil. If the context is canceled (ctx.Done() receives a value), the method returns.
Click to show internal directories.
Click to hide internal directories.