mockWriteSyncer

package
v0.0.0-...-7027c90 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockWriteSyncer

type MockWriteSyncer struct {
	// contains filtered or unexported fields
}

func New

func New() *MockWriteSyncer

func (*MockWriteSyncer) EXPECT

func (*MockWriteSyncer) Sync

func (ws *MockWriteSyncer) Sync() error

func (*MockWriteSyncer) Write

func (ws *MockWriteSyncer) Write(p []byte) (n int, err error)

type MockWriterSyncerExpect

type MockWriterSyncerExpect struct {
	// contains filtered or unexported fields
}

func (*MockWriterSyncerExpect) Sync

func (ws *MockWriterSyncerExpect) Sync() *mock.Call

func (*MockWriterSyncerExpect) Write

func (ws *MockWriterSyncerExpect) Write(p []byte) *mock.Call

func (*MockWriterSyncerExpect) WriteJson

func (ws *MockWriterSyncerExpect) WriteJson(t *testing.T, obj interface{}) *mock.Call

Jump to

Keyboard shortcuts

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