Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Msg ¶
type Msg struct { DIDCommMsg service.DIDCommMsg MyDID string TheirDID string }
Msg model.
type MsgService ¶
type MsgService struct {
// contains filtered or unexported fields
}
MsgService msg service implementation.
func NewMsgSvc ¶
func NewMsgSvc(name, msgType string, msgCh chan Msg) *MsgService
NewMsgSvc new msg service.
func (*MsgService) Accept ¶
func (m *MsgService) Accept(msgType string, _ []string) bool
Accept validates whether the service handles msgType and purpose.
func (*MsgService) HandleInbound ¶
func (m *MsgService) HandleInbound(msg service.DIDCommMsg, ctx service.DIDCommContext) (string, error)
HandleInbound handles inbound didcomm msg.
Click to show internal directories.
Click to hide internal directories.