fakes

package
v0.0.0-...-523a819 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。

此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoServiceServer

type EchoServiceServer struct {
	EchoStub func(context.Context, *testpb.Message) (*testpb.Message, error)

	EchoStreamStub func(testpb.EchoService_EchoStreamServer) error
	// contains filtered or unexported fields
}

func (*EchoServiceServer) Echo

func (fake *EchoServiceServer) Echo(arg1 context.Context, arg2 *testpb.Message) (*testpb.Message, error)

func (*EchoServiceServer) EchoArgsForCall

func (fake *EchoServiceServer) EchoArgsForCall(i int) (context.Context, *testpb.Message)

func (*EchoServiceServer) EchoCallCount

func (fake *EchoServiceServer) EchoCallCount() int

func (*EchoServiceServer) EchoCalls

func (fake *EchoServiceServer) EchoCalls(stub func(context.Context, *testpb.Message) (*testpb.Message, error))

func (*EchoServiceServer) EchoReturns

func (fake *EchoServiceServer) EchoReturns(result1 *testpb.Message, result2 error)

func (*EchoServiceServer) EchoReturnsOnCall

func (fake *EchoServiceServer) EchoReturnsOnCall(i int, result1 *testpb.Message, result2 error)

func (*EchoServiceServer) EchoStream

func (*EchoServiceServer) EchoStreamArgsForCall

func (fake *EchoServiceServer) EchoStreamArgsForCall(i int) testpb.EchoService_EchoStreamServer

func (*EchoServiceServer) EchoStreamCallCount

func (fake *EchoServiceServer) EchoStreamCallCount() int

func (*EchoServiceServer) EchoStreamCalls

func (fake *EchoServiceServer) EchoStreamCalls(stub func(testpb.EchoService_EchoStreamServer) error)

func (*EchoServiceServer) EchoStreamReturns

func (fake *EchoServiceServer) EchoStreamReturns(result1 error)

func (*EchoServiceServer) EchoStreamReturnsOnCall

func (fake *EchoServiceServer) EchoStreamReturnsOnCall(i int, result1 error)

func (*EchoServiceServer) Invocations

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

type Leveler

type Leveler struct {
	Stub func(context.Context, string) zapcore.Level
	// contains filtered or unexported fields
}

func (*Leveler) ArgsForCall

func (fake *Leveler) ArgsForCall(i int) (context.Context, string)

func (*Leveler) CallCount

func (fake *Leveler) CallCount() int

func (*Leveler) Calls

func (fake *Leveler) Calls(stub func(context.Context, string) zapcore.Level)

func (*Leveler) Invocations

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

func (*Leveler) Returns

func (fake *Leveler) Returns(result1 zapcore.Level)

func (*Leveler) ReturnsOnCall

func (fake *Leveler) ReturnsOnCall(i int, result1 zapcore.Level)

func (*Leveler) Spy

func (fake *Leveler) Spy(arg1 context.Context, arg2 string) zapcore.Level

Jump to

Keyboard shortcuts

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