panda: github.com/katzenpost/panda/common Index | Files

package common

import "github.com/katzenpost/panda/common"

Index

Package Files

common.go

Constants

const (
    PandaCapability = "panda"
    PandaVersion    = 0

    PandaStatusReceived1            = 0
    PandaStatusReceived2            = 1
    PandaStatusSyntaxError          = 2
    PandaStatusTagContendedError    = 3
    PandaStatusRequestRecordedError = 4
    PandaStatusStorageError         = 5

    PandaTagLength = 32
)

Variables

var ErrNoSuchPandaTag = errors.New("Error: no such PANDA tag")

type PandaRequest Uses

type PandaRequest struct {
    Version int
    Tag     string
    Message string
}

type PandaResponse Uses

type PandaResponse struct {
    Version    int
    StatusCode int
    Message    string
}

Package common imports 1 packages (graph) and is imported by 2 packages. Updated 2019-05-03. Refresh now. Tools for package owners.