fallbackmon

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Db

type Db interface {
	AddGeoDomain(domain string, domainSetName string) error
}

type FallbackMon

type FallbackMon struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewFallbackMon

func NewFallbackMon(setting *FallbackMonSetting) *FallbackMon

func (*FallbackMon) Close

func (r *FallbackMon) Close() error

func (*FallbackMon) FlowSessionEnd

func (r *FallbackMon) FlowSessionEnd(ctx context.Context, info *session.Info, err error)

func (*FallbackMon) OnFallback

func (r *FallbackMon) OnFallback(info *session.Info, previousTag, tag string)

func (*FallbackMon) PacketConnSessionEnd

func (r *FallbackMon) PacketConnSessionEnd(ctx context.Context, info *session.Info, err error)

func (*FallbackMon) Start

func (r *FallbackMon) Start() error

type FallbackMonSetting

type FallbackMonSetting struct {
	Db            Db
	DomainSetName string
	Geo           *geo.GeoWrapper
}

Jump to

Keyboard shortcuts

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