Documentation ¶
Overview ¶
*
- Copyright 2015 @ 56x.net.
- name : defer.go
- author : jarryliu
- date : 2016-01-06 17:43
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : mail_queue
- author : jarryliu
- date : 2015-07-27 17:06
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : person_finance
- author : jarryliu
- date : 2016-04-02 10:35
- description :
- history :
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service interface { // Name 服务名称 Name() string // Start 启动服务,并传入APP上下文对象 Start(gof.App) // OrderObs 处理订单,需根据订单不同的状态,作不同的业务,返回布尔值,如果返回false,则不继续执行 OrderObs(singleOrder *proto.SSingleOrder) bool // MemberObs 监视会员修改,@create:是否为新注册会员,返回布尔值,如果返回false,则不继续执行 MemberObs(m *proto.SMember, create bool) bool // PaymentOrderObs 通知支付单完成队列,返回布尔值,如果返回false,则不继续执行 PaymentOrderObs(order *proto.SPaymentOrder) bool // HandleMailQueue 处理邮件队列,返回布尔值,如果返回false,则不继续执行 HandleMailQueue([]*mss.MailTask) bool }
Service 守护进程服务
Source Files ¶
Click to show internal directories.
Click to hide internal directories.