mock

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: 3 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 Observer

type Observer struct {
	CheckStub func(zapcore.Entry, *zapcore.CheckedEntry)

	WriteEntryStub func(zapcore.Entry, []zapcore.Field)
	// contains filtered or unexported fields
}

func (*Observer) Check

func (fake *Observer) Check(arg1 zapcore.Entry, arg2 *zapcore.CheckedEntry)

func (*Observer) CheckArgsForCall

func (fake *Observer) CheckArgsForCall(i int) (zapcore.Entry, *zapcore.CheckedEntry)

func (*Observer) CheckCallCount

func (fake *Observer) CheckCallCount() int

func (*Observer) CheckCalls

func (fake *Observer) CheckCalls(stub func(zapcore.Entry, *zapcore.CheckedEntry))

func (*Observer) Invocations

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

func (*Observer) WriteEntry

func (fake *Observer) WriteEntry(arg1 zapcore.Entry, arg2 []zapcore.Field)

func (*Observer) WriteEntryArgsForCall

func (fake *Observer) WriteEntryArgsForCall(i int) (zapcore.Entry, []zapcore.Field)

func (*Observer) WriteEntryCallCount

func (fake *Observer) WriteEntryCallCount() int

func (*Observer) WriteEntryCalls

func (fake *Observer) WriteEntryCalls(stub func(zapcore.Entry, []zapcore.Field))

type WriteSyncer

type WriteSyncer struct {
	SyncStub func() error

	WriteStub func([]byte) (int, error)
	// contains filtered or unexported fields
}

func (*WriteSyncer) Invocations

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

func (*WriteSyncer) Sync

func (fake *WriteSyncer) Sync() error

func (*WriteSyncer) SyncCallCount

func (fake *WriteSyncer) SyncCallCount() int

func (*WriteSyncer) SyncCalls

func (fake *WriteSyncer) SyncCalls(stub func() error)

func (*WriteSyncer) SyncReturns

func (fake *WriteSyncer) SyncReturns(result1 error)

func (*WriteSyncer) SyncReturnsOnCall

func (fake *WriteSyncer) SyncReturnsOnCall(i int, result1 error)

func (*WriteSyncer) Write

func (fake *WriteSyncer) Write(arg1 []byte) (int, error)

func (*WriteSyncer) WriteArgsForCall

func (fake *WriteSyncer) WriteArgsForCall(i int) []byte

func (*WriteSyncer) WriteCallCount

func (fake *WriteSyncer) WriteCallCount() int

func (*WriteSyncer) WriteCalls

func (fake *WriteSyncer) WriteCalls(stub func([]byte) (int, error))

func (*WriteSyncer) WriteReturns

func (fake *WriteSyncer) WriteReturns(result1 int, result2 error)

func (*WriteSyncer) WriteReturnsOnCall

func (fake *WriteSyncer) WriteReturnsOnCall(i int, result1 int, result2 error)

Jump to

Keyboard shortcuts

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