mock

package
v2.0.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

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) Invocations

func (fake *Protobuf) Invocations() map[string][][]interface{}

func (*Protobuf) Marshal

func (fake *Protobuf) Marshal(msg proto.Message) (marshaled []byte, err error)

func (*Protobuf) MarshalArgsForCall

func (fake *Protobuf) MarshalArgsForCall(i int) proto.Message

func (*Protobuf) MarshalCallCount

func (fake *Protobuf) MarshalCallCount() int

func (*Protobuf) MarshalReturns

func (fake *Protobuf) MarshalReturns(result1 []byte, result2 error)

func (*Protobuf) MarshalReturnsOnCall

func (fake *Protobuf) MarshalReturnsOnCall(i int, result1 []byte, result2 error)

func (*Protobuf) Unmarshal

func (fake *Protobuf) Unmarshal(marshaled []byte, msg proto.Message) error

func (*Protobuf) UnmarshalArgsForCall

func (fake *Protobuf) UnmarshalArgsForCall(i int) ([]byte, proto.Message)

func (*Protobuf) UnmarshalCallCount

func (fake *Protobuf) UnmarshalCallCount() int

func (*Protobuf) UnmarshalReturns

func (fake *Protobuf) UnmarshalReturns(result1 error)

func (*Protobuf) UnmarshalReturnsOnCall

func (fake *Protobuf) UnmarshalReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL