kernelmanager

package
v0.0.0-...-3195ca0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2014 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKernelManager

func CreateKernelManager(c *Configuration) (*kernelManager, error)

func GetKernelManager

func GetKernelManager() *kernelManager

Types

type Configuration

type Configuration struct {
	Disabled bool

	Socket    int
	QueueSize int
}

type Message

type Message []byte

func (*Message) Append

func (t *Message) Append(data []byte) error

func (*Message) Records

func (t *Message) Records() uint8

func (*Message) SetType

func (t *Message) SetType(messageType MessageType)

func (*Message) Type

func (t *Message) Type() MessageType

type MessageType

type MessageType uint8
const (
	CLEAR   MessageType = 0
	CLEARIP MessageType = 1

	BLOCK   MessageType = 10
	BLOCKIP MessageType = 11

	UNBLOCK   MessageType = 20
	UNBLOCKIP MessageType = 21
)

Jump to

Keyboard shortcuts

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