github.com/hyperledger/aries-framework-go@v0.3.2/pkg/didcomm/common/model/forward.go (about)

     1  /*
     2  Copyright SecureKey Technologies Inc. All Rights Reserved.
     3  
     4  SPDX-License-Identifier: Apache-2.0
     5  */
     6  
     7  package model
     8  
     9  // Forward route forward message.
    10  // nolint:lll // url in the next line is long
    11  // https://github.com/hyperledger/aries-rfcs/blob/main/concepts/0094-cross-domain-messaging/README.md#corerouting10forward
    12  type Forward struct {
    13  	Type string `json:"@type,omitempty"`
    14  	ID   string `json:"@id,omitempty"`
    15  	To   string `json:"to,omitempty"`
    16  	Msg  []byte `json:"msg,omitempty"`
    17  }