github.com/hyperledger/aries-framework-go@v0.3.2/pkg/client/mediator/models.go (about) 1 /* 2 Copyright SecureKey Technologies Inc. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 package mediator 8 9 import ( 10 "github.com/google/uuid" 11 12 "github.com/hyperledger/aries-framework-go/pkg/didcomm/protocol/mediator" 13 ) 14 15 const ( 16 // ProtocolName is the framework's friendly name for the route-coordination protocol. 17 ProtocolName = mediator.Coordination 18 // RequestMsgType defines the route coordination request message type. 19 RequestMsgType = mediator.RequestMsgType 20 ) 21 22 // Request is the route-request message of this protocol. 23 type Request = mediator.Request 24 25 // ConnectionOption option for Client.GetConnections. 26 type ConnectionOption = mediator.ConnectionOption 27 28 // NewRequest creates a new request. 29 func NewRequest() *Request { 30 return &Request{ 31 ID: uuid.New().String(), 32 Type: RequestMsgType, 33 } 34 }