types

package
v0.0.0-...-ad22a97 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2019 License: MIT Imports: 0 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptedState

type EncryptedState struct {
	EncryptedData string `json:"encrypted_data"`
}

EncryptedState encrypted state

type Lock

type Lock struct {
	Created   string
	Path      string
	ID        string
	Operation string
	Info      string
	Who       string
	Version   string
}

Lock a lock on state

type LockDocument

type LockDocument struct {
	Ref  string `json:"ref"`
	Lock Lock   `json:"lock"`
}

LockDocument a lock with reference

type StateDocument

type StateDocument struct {
	Ref       string                 `json:"ref"`
	Encrypted bool                   `json:"encrypted"`
	State     map[string]interface{} `json:"state"`
	Metadata  map[string]interface{} `json:"metadata"`
}

StateDocument a state with reference

Jump to

Keyboard shortcuts

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