core

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartWorker added in v0.13.0

func StartWorker(repository domain.Repository, sessionManager PollMapSessionManager)

Types

type Ping

type Ping struct{}

type PollMapSessionManager

type PollMapSessionManager interface {
	Register(tailnetID uint64, machineID uint64, ch chan *Ping)
	Deregister(tailnetID uint64, machineID uint64)
	HasSession(tailnetID uint64, machineID uint64) bool
	NotifyAll(tailnetID uint64, ignoreMachineIDs ...uint64)
}

func NewPollMapSessionManager

func NewPollMapSessionManager() PollMapSessionManager

Jump to

Keyboard shortcuts

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