reunion: Index | Files

package katzenpost

import ""

Package katzenpost provides the client ACN transport for Reunion DB queries on a katzenpost decryption mix network.


Package Files


type Transport Uses

type Transport struct {
    // Session is a client Session which
    // can be used to send mixnet messages.
    Session *client.Session
    // Recipient is the destination service.
    Recipient string
    // Provider is the destination Provider.
    Provider string

Transport is used by Reunion protocol clients to send queries to the Reunion DB service.

func (*Transport) CurrentEpochs Uses

func (k *Transport) CurrentEpochs() ([]uint64, error)

CurrentEpochs returns the valid Epochs that this service has announced

func (*Transport) CurrentSharedRandoms Uses

func (k *Transport) CurrentSharedRandoms() ([][]byte, error)

CurrentSharedRandoms returns the valid SharedRandoms in the PKI but in the future may return a transport specific SharedRandom

func (*Transport) Query Uses

func (k *Transport) Query(command commands.Command) (commands.Command, error)

Query sends the command to the destination Reunion DB service over a Katzenpost mix network.

Package katzenpost imports 7 packages (graph) and is imported by 1 packages. Updated 2020-10-25. Refresh now. Tools for package owners.