types

package
v0.0.0-...-496c6ee Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checkpoint

type Checkpoint struct {
	// contains filtered or unexported fields
}

func (*Checkpoint) Get

func (*Checkpoint) Set

func (c *Checkpoint) Set(proposal Proposal, signatures []Signature)

type Proposal

type Proposal struct {
	Payload              []byte
	Header               []byte
	Metadata             []byte
	VerificationSequence int64 // int64 for asn1 marshaling
}

func (Proposal) Digest

func (p Proposal) Digest() string

type RequestInfo

type RequestInfo struct {
	ClientID string
	ID       string
}

func (*RequestInfo) String

func (r *RequestInfo) String() string

type Signature

type Signature struct {
	Id    uint64
	Value []byte
	Msg   []byte
}

Jump to

Keyboard shortcuts

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