mock

package
v2.0.0-alpha+incompatible 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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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