mocktls

package
v0.0.0-...-3bc259b Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: crypto/tls (interfaces: ClientSessionCache)

Generated by this command:

mockgen -typed -build_flags=-tags=gomock -package mocktls -destination tls/client_session_cache.go crypto/tls ClientSessionCache

Package mocktls is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientSessionCacheGetCall

type ClientSessionCacheGetCall struct {
	*gomock.Call
}

ClientSessionCacheGetCall wrap *gomock.Call

func (*ClientSessionCacheGetCall) Do

Do rewrite *gomock.Call.Do

func (*ClientSessionCacheGetCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ClientSessionCacheGetCall) Return

Return rewrite *gomock.Call.Return

type ClientSessionCachePutCall

type ClientSessionCachePutCall struct {
	*gomock.Call
}

ClientSessionCachePutCall wrap *gomock.Call

func (*ClientSessionCachePutCall) Do

Do rewrite *gomock.Call.Do

func (*ClientSessionCachePutCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ClientSessionCachePutCall) Return

Return rewrite *gomock.Call.Return

type MockClientSessionCache

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

MockClientSessionCache is a mock of ClientSessionCache interface.

func NewMockClientSessionCache

func NewMockClientSessionCache(ctrl *gomock.Controller) *MockClientSessionCache

NewMockClientSessionCache creates a new mock instance.

func (*MockClientSessionCache) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClientSessionCache) Get

Get mocks base method.

func (*MockClientSessionCache) Put

Put mocks base method.

type MockClientSessionCacheMockRecorder

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

MockClientSessionCacheMockRecorder is the mock recorder for MockClientSessionCache.

func (*MockClientSessionCacheMockRecorder) Get

Get indicates an expected call of Get.

func (*MockClientSessionCacheMockRecorder) Put

Put indicates an expected call of Put.

Jump to

Keyboard shortcuts

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