constant

package
v0.0.0-...-7893bb9 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EventShutdown          = &EventObj{Type: 0}
	EventReloadConfig      = &EventObj{Type: 1}
	EventRestartHttpProxy  = &EventObj{Type: 2}
	EventRestartSocksProxy = &EventObj{Type: 3}
	EventRestartController = &EventObj{Type: 4}
	EventUpgrade           = &EventObj{Type: 5}
)

Functions

This section is empty.

Types

type EventObj

type EventObj struct {
	Type int
	// contains filtered or unexported fields
}

func (*EventObj) GetData

func (e *EventObj) GetData() interface{}

func (*EventObj) SetData

func (e *EventObj) SetData(data interface{}) *EventObj

Jump to

Keyboard shortcuts

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