Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Aries aries.Ctx
AriesMessenger service.Messenger
MsgRegistrar *msghandler.Registrar
Storage *Storage
PublicDID string
}
Config holds configuration.
type CreateConnReq ¶
type CreateConnReq struct {
ID string `json:"@id"`
Type string `json:"@type"`
Purpose []string `json:"~purpose"`
Data *CreateConnReqData `json:"data"`
}
CreateConnReq model.
type CreateConnReqData ¶
type CreateConnReqData struct {
DIDDoc json.RawMessage `json:"didDoc"`
}
CreateConnReqData model for data in CreateConnReq.
type CreateConnResp ¶
type CreateConnResp struct {
ID string `json:"@id"`
Type string `json:"@type"`
Purpose []string `json:"~purpose"`
Data *CreateConnRespData `json:"data"`
}
CreateConnResp model.
type CreateConnRespData ¶
type CreateConnRespData struct {
ErrorMsg string `json:"errorMsg"`
DIDDoc json.RawMessage `json:"didDoc"`
}
CreateConnRespData model for error data in CreateConnResp.
type DIDCommInvitationResp ¶
type DIDCommInvitationResp struct {
Invitation *outofband.Invitation `json:"invitation"`
}
DIDCommInvitationResp model.
type DIDCommInvitationV2Req ¶ added in v0.1.8
type DIDCommInvitationV2Req struct {
DID string `json:"did"`
}
DIDCommInvitationV2Req model.
type DIDCommInvitationV2Resp ¶ added in v0.1.8
type DIDCommInvitationV2Resp struct {
Invitation *outofbandv2.Invitation `json:"invitation"`
}
DIDCommInvitationV2Resp model.
type DIDCommMsg ¶
DIDCommMsg model.
type Handler ¶
type Handler interface {
Path() string
Method() string
Handle() http.HandlerFunc
}
Handler http handler for each controller API endpoint.
type Operation ¶
type Operation struct {
// contains filtered or unexported fields
}
Operation implements hub-router operations.
func (*Operation) GetRESTHandlers ¶
GetRESTHandlers get all controller API handler available for this service.
Click to show internal directories.
Click to hide internal directories.