Documentation ¶
Index ¶
- Variables
- type Ack
- type AckFactor
- type AckImpl
- type Code
- type ProblemReport
- type ProblemReportFactor
- type ProblemReportImpl
- func (p *ProblemReportImpl) FieldObj() interface{}
- func (p *ProblemReportImpl) ID() string
- func (p *ProblemReportImpl) JSON() []byte
- func (p *ProblemReportImpl) SetID(id string)
- func (p *ProblemReportImpl) SetType(t string)
- func (p *ProblemReportImpl) Thread() *decorator.Thread
- func (p *ProblemReportImpl) Type() string
Constants ¶
This section is empty.
Variables ¶
View Source
var AckCreator = &AckFactor{}
View Source
var ProblemReportCreator = &ProblemReportFactor{}
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 AckFactor ¶
type AckFactor struct{}
func (*AckFactor) NewMessage ¶
func (f *AckFactor) NewMessage(data []byte) didcomm.MessageHdr
type ProblemReport ¶
type ProblemReport struct { Type string `json:"@type"` ID string `json:"@id"` Description Code `json:"description"` ExplainLongTxt string `json:"explain-ltxt,omitempty"` // ACApy Thread *decorator.Thread `json:"~thread,omitempty"` }
ProblemReport problem report definition TODO: need to provide full ProblemReport structure https://github.com/hyperledger/aries-framework-go/issues/912
type ProblemReportFactor ¶
type ProblemReportFactor struct{}
func (*ProblemReportFactor) NewMessage ¶
func (f *ProblemReportFactor) NewMessage(data []byte) didcomm.MessageHdr
func (*ProblemReportFactor) NewMsg ¶
func (f *ProblemReportFactor) NewMsg(init didcomm.MsgInit) didcomm.MessageHdr
type ProblemReportImpl ¶
type ProblemReportImpl struct {
*ProblemReport
}
MARK: Struct
func NewProblemReport ¶
func NewProblemReport(r *ProblemReport) *ProblemReportImpl
func NewProblemReportMsg ¶
func NewProblemReportMsg(data []byte) *ProblemReportImpl
func (*ProblemReportImpl) FieldObj ¶
func (p *ProblemReportImpl) FieldObj() interface{}
func (*ProblemReportImpl) ID ¶
func (p *ProblemReportImpl) ID() string
func (*ProblemReportImpl) JSON ¶
func (p *ProblemReportImpl) JSON() []byte
func (*ProblemReportImpl) SetID ¶
func (p *ProblemReportImpl) SetID(id string)
func (*ProblemReportImpl) SetType ¶
func (p *ProblemReportImpl) SetType(t string)
func (*ProblemReportImpl) Thread ¶
func (p *ProblemReportImpl) Thread() *decorator.Thread
func (*ProblemReportImpl) Type ¶
func (p *ProblemReportImpl) Type() string
Click to show internal directories.
Click to hide internal directories.