Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCAction ¶
type RPCAction struct { Ret []interface{} RetError error RetChannel chan ActionCmd // contains filtered or unexported fields }
RPCAction !
func NewRPCAction ¶
func (*RPCAction) SetObjectIndex ¶
type RPCServiceExt ¶
type RPCServiceExt struct { ConnectPoint chan ActionCmd // contains filtered or unexported fields }
func InstanceExt ¶
func InstanceExt() *RPCServiceExt
func (*RPCServiceExt) AddServiceObjects ¶
func (me *RPCServiceExt) AddServiceObjects(name string, objects []interface{}) bool
AddServiceObjects !
func (*RPCServiceExt) PushRPCAction ¶
func (me *RPCServiceExt) PushRPCAction(action *RPCAction) bool
PushRPCAction !
func (*RPCServiceExt) StartRPCServiceExt ¶
func (me *RPCServiceExt) StartRPCServiceExt()
func (*RPCServiceExt) StopRPCServiceExt ¶
func (me *RPCServiceExt) StopRPCServiceExt()
type RoutinePool ¶
type RoutinePool struct { JobsChannel chan Task // contains filtered or unexported fields }
func NewRoutinePool ¶
func NewRoutinePool(cap int) *RoutinePool
func (*RoutinePool) Close ¶
func (me *RoutinePool) Close()
func (*RoutinePool) Run ¶
func (me *RoutinePool) Run()
Click to show internal directories.
Click to hide internal directories.