Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Protobuf
- func (fake *Protobuf) Invocations() map[string][][]interface{}
- func (fake *Protobuf) Marshal(msg proto.Message) (marshaled []byte, err error)
- func (fake *Protobuf) MarshalArgsForCall(i int) proto.Message
- func (fake *Protobuf) MarshalCallCount() int
- func (fake *Protobuf) MarshalReturns(result1 []byte, result2 error)
- func (fake *Protobuf) MarshalReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Protobuf) Unmarshal(marshaled []byte, msg proto.Message) error
- func (fake *Protobuf) UnmarshalArgsForCall(i int) ([]byte, proto.Message)
- func (fake *Protobuf) UnmarshalCallCount() int
- func (fake *Protobuf) UnmarshalReturns(result1 error)
- func (fake *Protobuf) UnmarshalReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protobuf ¶
type Protobuf struct { MarshalStub func(msg proto.Message) (marshaled []byte, err error) UnmarshalStub func(marshaled []byte, msg proto.Message) error // contains filtered or unexported fields }
func (*Protobuf) Marshal ¶
func (*Protobuf) MarshalReturns ¶
func (*Protobuf) MarshalReturnsOnCall ¶
func (*Protobuf) Unmarshal ¶
func (*Protobuf) UnmarshalArgsForCall ¶
Source Files
¶
- protobuf.go
Click to show internal directories.
Click to hide internal directories.