processing

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBytes

func FromBytes(bs []byte, entities openpgp.EntityList) (model.State, error)

func GetPrivKey

func GetPrivKey(entity *openpgp.Entity) ([]byte, error)

func GetPubKey

func GetPubKey(entity *openpgp.Entity) ([]byte, error)

func GetReportEntries added in v0.4.0

func GetReportEntries(report model.Report) map[string]map[string]interface{}

func GetStateEntries added in v0.4.0

func GetStateEntries(state model.State) map[string]map[string]interface{}

func NewPubPrivKeys

func NewPubPrivKeys() ([]byte, []byte, error)

func ToBytes

func ToBytes(state model.State, entities []*openpgp.Entity) ([]byte, error)

Types

type Change added in v0.4.0

type Change struct {
	Type string
	Key  string
	Item interface{}
}

func Diff added in v0.4.0

func Diff(previous map[string]map[string]interface{}, current map[string]map[string]interface{}) []Change

type DocumentDiff added in v0.4.0

type DocumentDiff struct {
	Timestamp int64
	Changes   []Change
}

Jump to

Keyboard shortcuts

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