bromel

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

README

bromel chinese means '凤梨'

菠萝由很多小多边形的块紧凑的块组成,this part like bromel ,it contains the system need component.

node can according to different scene choose different computer language

docker run -itd --name redis-test -p 6379:6379 redis

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseComponent

type BaseComponent struct {
	// contains filtered or unexported fields
}

func NewBaseComponent

func NewBaseComponent(real interface{}) *BaseComponent

func (*BaseComponent) GetReal

func (b *BaseComponent) GetReal() interface{}

func (*BaseComponent) Launch

func (b *BaseComponent) Launch()

func (*BaseComponent) Resolve

func (b *BaseComponent) Resolve(op Operation)

func (*BaseComponent) Stop

func (b *BaseComponent) Stop()

type CallBackFn

type CallBackFn func(component Component)

type Component

type Component interface {
	Resolve(opCh Operation)
	Launch()
	Stop()
	GetReal() interface{}
}

type Operation

type Operation struct {
	IsAsynchronous bool
	CB             CallBackFn
	Ret            chan interface{}
}

type Owner

type Owner interface {
	Launch()
	Stop()
}

Directories

Path Synopsis
aoi
examples/load_from_project
从导出的工程文件加载
从导出的工程文件加载
examples/load_from_rawproject
从原生工程文件加载
从原生工程文件加载
examples/load_from_tree
从导出的树文件加载
从导出的树文件加载
examples/memsubtree
从原生工程文件加载
从原生工程文件加载
examples/subtree
从原生工程文件加载
从原生工程文件加载
proto
Package proto defines the protobuf codec.
Package proto defines the protobuf codec.
xml
Package cast provides easy and safe casting in Go.
Package cast provides easy and safe casting in Go.
Package lru provides three different LRU caches of varying sophistication.
Package lru provides three different LRU caches of varying sophistication.

Jump to

Keyboard shortcuts

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