handler

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, cfg *config.Config) error

Types

type PortBlocker

type PortBlocker struct {
	Ports map[int]*sync.RWMutex
	// contains filtered or unexported fields
}

func (*PortBlocker) Lock

func (b *PortBlocker) Lock(port int)

func (*PortBlocker) Unlock

func (b *PortBlocker) Unlock(port int)

Jump to

Keyboard shortcuts

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