model

package
v0.1.6-0...-5c25bcb Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ack

type Ack struct {
	Type   string            `json:"@type,omitempty"`
	ID     string            `json:"@id,omitempty"`
	Status string            `json:"status,omitempty"`
	Thread *decorator.Thread `json:"~thread,omitempty"`
}

Ack acknowledgement struct.

type Code

type Code struct {
	Code string `json:"code"`
}

Code represents a problem report code.

type Envelope

type Envelope struct {
	Protected  string `json:"protected,omitempty"`
	IV         string `json:"iv,omitempty"`
	CipherText string `json:"ciphertext,omitempty"`
	Tag        string `json:"tag,omitempty"`
}

Envelope for the DIDComm transport messages.

type Forward

type Forward struct {
	Type string    `json:"@type,omitempty"`
	ID   string    `json:"@id,omitempty"`
	To   string    `json:"to,omitempty"`
	Msg  *Envelope `json:"msg,omitempty"`
}

Forward route forward message. nolint lll - url in the next line is long https://github.com/hyperledger/aries-rfcs/blob/master/concepts/0094-cross-domain-messaging/README.md#corerouting10forward

type ProblemReport

type ProblemReport struct {
	Type        string `json:"@type"`
	ID          string `json:"@id"`
	Description Code   `json:"description"`
}

ProblemReport problem report definition TODO: need to provide full ProblemReport structure https://github.com/hyperledger/aries-framework-go/issues/912

Jump to

Keyboard shortcuts

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