github.com/hyperledger/aries-framework-go@v0.3.2/pkg/didcomm/protocol/mediator/api.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 // ProtocolService service interface for router. 10 type ProtocolService interface { 11 // AddKey adds agents recKey to the router 12 AddKey(connID, recKey string) error 13 14 // Config gives back the router configuration 15 Config(connID string) (*Config, error) 16 17 // GetConnections returns all router connections 18 GetConnections(options ...ConnectionOption) ([]string, error) 19 }