component

package
v0.0.0-...-372ebbf Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COMPONENT_TYPE_BEGIN = iota
	COMPONENT_TYPE_TCP_SERVER
	COMPONENT_TYPE_TCP_CLIENT
	COMPONENT_TYPE_DB_MONGODB
	COMPONENT_TYPE_DB_MYSQL
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent = agent.Agent

type Component

type Component interface {
	GetID() ComponentID
	GetType() ComponentType
	Start() bool
	Close()
}

type ComponentID

type ComponentID = agent.AgentID

func GenComponentID

func GenComponentID() ComponentID

type ComponentType

type ComponentType uint16

type EventType

type EventType = int

Jump to

Keyboard shortcuts

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