Documentation ¶
Index ¶
- func Destroy()
- func Init()
- func Register(mi Module)
- type Module
- type Skeleton
- func (s *Skeleton) AfterFunc(d time.Duration, cb func()) *timer.Timer
- func (s *Skeleton) CronFunc(cronExpr *timer.CronExpr, cb func()) *timer.Cron
- func (s *Skeleton) Go(f func(), cb func())
- func (s *Skeleton) Init()
- func (s *Skeleton) NewLinearContext() *g.LinearContext
- func (s *Skeleton) RegisterChanRPC(id interface{}, f interface{})
- func (s *Skeleton) RegisterCommand(name string, help string, f interface{})
- func (s *Skeleton) Run(closeSig chan bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Skeleton ¶
type Skeleton struct { GoLen int TimerDispatcherLen int ChanRPCServer *chanrpc.Server // contains filtered or unexported fields }
func (*Skeleton) NewLinearContext ¶
func (s *Skeleton) NewLinearContext() *g.LinearContext
func (*Skeleton) RegisterChanRPC ¶
func (s *Skeleton) RegisterChanRPC(id interface{}, f interface{})
func (*Skeleton) RegisterCommand ¶
Click to show internal directories.
Click to hide internal directories.