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{} }
Directories
¶
Path | Synopsis |
---|---|
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. |
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. |
Click to show internal directories.
Click to hide internal directories.