Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedResumingConfigurer ¶
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.
Click to show internal directories.
Click to hide internal directories.