model

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 1 Imported by: 11

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 AckV2 added in v0.1.7

type AckV2 struct {
	ID   string    `json:"id,omitempty"`
	Type string    `json:"type,omitempty"`
	Body AckV2Body `json:"body,omitempty"`
}

AckV2 acknowledgement struct.

type AckV2Body added in v0.1.7

type AckV2Body struct {
	Status string `json:"status,omitempty"`
}

AckV2Body represents body for AckV2.

type Code added in v0.1.2

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

Code represents a problem report code.

type Envelope added in v0.1.1

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 added in v0.1.1

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 added in v0.1.1

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

type ProblemReportV2 added in v0.1.7

type ProblemReportV2 struct {
	Type string              `json:"type,omitempty"`
	ID   string              `json:"id,omitempty"`
	Body ProblemReportV2Body `json:"body,omitempty"`
}

ProblemReportV2 problem report definition.

type ProblemReportV2Body added in v0.1.7

type ProblemReportV2Body struct {
	Code       string   `json:"code,omitempty"`
	Comment    string   `json:"comment,omitempty"`
	Args       []string `json:"args,omitempty"`
	EscalateTo string   `json:"escalate_to,omitempty"`
}

ProblemReportV2Body represents body for ProblemReportV2.

Jump to

Keyboard shortcuts

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