Documentation ¶
Index ¶
- func CloseTCPEntry(row *MIB_TCPROW2) error
- func FireHostsSwitch() bool
- func GetProcessNameMap() map[uint32]string
- func GuaranteeSingleProcess()
- func OpenRegistry()
- func ReadCurrentHostConfig() []byte
- func Triggered(f func())
- type Batcher
- type ClassReader
- type DWORD
- type MIB_TCPROW2
- type MIB_TCPTABLE2
- type TCP_CONNECTION_OFFLOAD_STATE
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseTCPEntry ¶
func CloseTCPEntry(row *MIB_TCPROW2) error
func FireHostsSwitch ¶
func FireHostsSwitch() bool
func GetProcessNameMap ¶
func GuaranteeSingleProcess ¶
func GuaranteeSingleProcess()
func ReadCurrentHostConfig ¶
func ReadCurrentHostConfig() []byte
Types ¶
type Batcher ¶
type Batcher struct { *fsnotify.Watcher Events chan []fsnotify.Event // Events are returned on this channel // contains filtered or unexported fields }
https://github.com/spf13/hugo/blob/master/watcher/batcher.go
type ClassReader ¶
type ClassReader struct {
// contains filtered or unexported fields
}
func NewClassReader ¶
func NewClassReader(bytecode []byte) *ClassReader
func (*ClassReader) ReadBytes ¶
func (this *ClassReader) ReadBytes(len int) []byte
func (*ClassReader) ReadIp ¶
func (this *ClassReader) ReadIp(bytes []byte) string
func (*ClassReader) ReadPort ¶
func (this *ClassReader) ReadPort(bytes []byte) uint16
func (*ClassReader) ReadUint32 ¶
func (this *ClassReader) ReadUint32() uint32
type MIB_TCPROW2 ¶
type MIB_TCPROW2 struct {
// contains filtered or unexported fields
}
type MIB_TCPTABLE2 ¶
type MIB_TCPTABLE2 struct {
// contains filtered or unexported fields
}
func (*MIB_TCPTABLE2) String ¶
func (t *MIB_TCPTABLE2) String() string
type TCP_CONNECTION_OFFLOAD_STATE ¶
type TCP_CONNECTION_OFFLOAD_STATE uint32
const ( TcpConnectionOffloadStateInHost TCP_CONNECTION_OFFLOAD_STATE = 0 TcpConnectionOffloadStateOffloading TCP_CONNECTION_OFFLOAD_STATE = 1 TcpConnectionOffloadStateOffloaded TCP_CONNECTION_OFFLOAD_STATE = 2 TcpConnectionOffloadStateUploading TCP_CONNECTION_OFFLOAD_STATE = 3 TcpConnectionOffloadStateMax TCP_CONNECTION_OFFLOAD_STATE = 4 )
Click to show internal directories.
Click to hide internal directories.