xray_vmess_inbound_callbacks

package
v1.108.103 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallbackManager

type CallbackManager struct {
	CbsOnProcess      idsyncmap.IDSyncMap[xray_common_callbacks.OnProcess]
	CbsOnProcessStart idsyncmap.IDSyncMap[OnProcessStart]
}

func NewCallbackManager

func NewCallbackManager() *CallbackManager

func (*CallbackManager) ExecOnProcess

func (cm *CallbackManager) ExecOnProcess(inbound *session.Inbound) (id int32, err error)

func (*CallbackManager) ExecOnProcessStart

func (cm *CallbackManager) ExecOnProcessStart(sessionPolicy *policy.Session) (id int32, err error)

type OnProcessStart

type OnProcessStart func(sessionPolicy *policy.Session) error

Jump to

Keyboard shortcuts

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