testsockets

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSocket

type MockSocket struct {
	SockID    netlink.SocketID
	Family    uint8
	Protocol  uint8
	Destroyed bool
}

func (*MockSocket) Equal

func (s *MockSocket) Equal(s2 *MockSocket) bool

type MockSockets

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

func NewMockSockets

func NewMockSockets(sockets []*MockSocket) *MockSockets

func (*MockSockets) Destroy

func (s *MockSockets) Destroy(filter sockets.SocketFilter) error

Jump to

Keyboard shortcuts

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