configureresuming

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockedResumingConfigurer

type MockedResumingConfigurer struct {
	mock.Mock
}

MockedResumingConfigurer is the mock implementation of ResumingConfigurer.

func NewMockedSessionResumer

func NewMockedSessionResumer() *MockedResumingConfigurer

NewMockedSessionResumer returns a new MockedResumingConfigurer.

func (*MockedResumingConfigurer) ConfigureResuming

func (c *MockedResumingConfigurer) ConfigureResuming(resumeKey string, timeout uint) error

ConfigureResuming configures the resume key used to resume a connection.

type ResumingConfigurer

type ResumingConfigurer interface {
	// ConfigureResuming configures the resume key used
	// to resume a connection.
	ConfigureResuming(resumeKey string, timeout uint) error
}

ResumingConfigurer wraps the ConfigureResuming method.

Jump to

Keyboard shortcuts

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