Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: crypto/tls (interfaces: ClientSessionCache)
Generated by this command:
mockgen -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 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 ¶
func (m *MockClientSessionCache) EXPECT() *MockClientSessionCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientSessionCache) Get ¶
func (m *MockClientSessionCache) Get(arg0 string) (*tls.ClientSessionState, bool)
Get mocks base method.
func (*MockClientSessionCache) Put ¶
func (m *MockClientSessionCache) Put(arg0 string, arg1 *tls.ClientSessionState)
Put mocks base method.
type MockClientSessionCacheMockRecorder ¶
type MockClientSessionCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockClientSessionCacheMockRecorder is the mock recorder for MockClientSessionCache.
Click to show internal directories.
Click to hide internal directories.