types

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CGroupEvent

type CGroupEvent struct {
	Path      string
	EventType CgroupEventType
}

type CGroupEvents

type CGroupEvents struct {
	Events []CGroupEvent
	Result chan<- error
}

type CgroupEventType

type CgroupEventType uint8
const (
	CgroupEventTypeNew    CgroupEventType = iota // New
	CgroupEventTypeDelete                        // Delete
)

func (CgroupEventType) String

func (i CgroupEventType) String() string

type Route

type Route struct {
	Path   string
	Target Target
}

type Target

type Target struct {
	Op    TargetOp
	Chain string
}

type TargetOp

type TargetOp uint32
const (
	TargetNoop   TargetOp = iota // noop
	TargetDrop                   // drop
	TargetTProxy                 //tproxy
	TargetDirect                 //direct
)

func (TargetOp) String

func (i TargetOp) String() string

Jump to

Keyboard shortcuts

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