Documentation ¶
Index ¶
- Constants
- Variables
- func ClosePackages()
- func CoreObject() *basic.Object
- func ExecuteHook(hookpos int) error
- func IsPackageLoaded(name string) bool
- func IsPackageRegisted(name string) bool
- func LaunchChild(o *basic.Object)
- func LoadPackages(configFile string)
- func RegisteHook(hookpos int, f hookfunc)
- func RegistePackage(p Package)
- func Terminate(o *basic.Object)
- func WritePid()
- type Configuration
- type Ctx
- type Package
Constants ¶
View Source
const ( HOOK_BEFORE_START int = iota HOOK_AFTER_STOP HOOK_MAX )
View Source
const ( ObjId_RootId int = iota ObjId_CoreId ObjId_ExecutorId ObjId_TimerId ObjId_ProfileId )
Variables ¶
View Source
var Config = Configuration{}
Functions ¶
func ClosePackages ¶
func ClosePackages()
func CoreObject ¶
func ExecuteHook ¶
func IsPackageLoaded ¶
func IsPackageRegisted ¶
func LaunchChild ¶
func LoadPackages ¶
func LoadPackages(configFile string)
func RegisteHook ¶
func RegisteHook(hookpos int, f hookfunc)
func RegistePackage ¶
func RegistePackage(p Package)
Types ¶
type Configuration ¶
type Configuration struct {
MaxProcs int
}
func (*Configuration) Close ¶
func (c *Configuration) Close() error
func (*Configuration) Init ¶
func (c *Configuration) Init() error
func (*Configuration) Name ¶
func (c *Configuration) Name() string
Directories ¶
Path | Synopsis |
---|---|
builtin
|
|
filter
sessionfiltertrace
|
sessionfiltertrace |
queue
queue
|
queue |
recycler
recycler
|
recycler |
config
|
config |
tcpkeepalive
Package tcpkeepalive implements additional TCP keepalive control beyond what is currently offered by the net pkg.
|
Package tcpkeepalive implements additional TCP keepalive control beyond what is currently offered by the net pkg. |
signal
|
signal |
config
|
config |
AtomicIdGen
|
AtomicIdGen |
Click to show internal directories.
Click to hide internal directories.