common

package
v0.0.72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSURBID added in v0.0.55

func NewSURBID() *[constants.SURBIDLength]byte

Types

type ServiceDescriptor

type ServiceDescriptor struct {
	// RecipientQueueID is the service name or queue ID.
	RecipientQueueID []byte
	// Gateway name.
	MixDescriptor *cpki.MixDescriptor
}

ServiceDescriptor describe a mixnet Gateway-side service.

func FindServices

func FindServices(capability string, doc *cpki.Document) []*ServiceDescriptor

FindServices is a helper function for finding Gateway-side services in the PKI document.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL