MCPcopy
hub / github.com/hyperledger/fabric / SignerSerializer

Struct SignerSerializer

gossip/service/mocks/signer_serializer.go:8–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6)
7
8type SignerSerializer struct {
9 SerializeStub func() ([]byte, error)
10 serializeMutex sync.RWMutex
11 serializeArgsForCall []struct {
12 }
13 serializeReturns struct {
14 result1 []byte
15 result2 error
16 }
17 serializeReturnsOnCall map[int]struct {
18 result1 []byte
19 result2 error
20 }
21 SignStub func([]byte) ([]byte, error)
22 signMutex sync.RWMutex
23 signArgsForCall []struct {
24 arg1 []byte
25 }
26 signReturns struct {
27 result1 []byte
28 result2 error
29 }
30 signReturnsOnCall map[int]struct {
31 result1 []byte
32 result2 error
33 }
34 invocations map[string][][]interface{}
35 invocationsMutex sync.RWMutex
36}
37
38func (fake *SignerSerializer) Serialize() ([]byte, error) {
39 fake.serializeMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected