ingestserver

package
v1.79.5-cluster Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnsMap

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

ConnsMap is used for tracking active connections.

func (*ConnsMap) Add

func (cm *ConnsMap) Add(c net.Conn) bool

Add adds c to cm.

func (*ConnsMap) CloseAll

func (cm *ConnsMap) CloseAll()

CloseAll closes all the added conns.

func (*ConnsMap) Delete

func (cm *ConnsMap) Delete(c net.Conn)

Delete deletes c from cm.

func (*ConnsMap) Init

func (cm *ConnsMap) Init()

Init initializes cm.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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