Documentation ¶
Index ¶
- Variables
- type GgfServiceManager
- func (h *GgfServiceManager) BeginWork()
- func (h *GgfServiceManager) Init()
- func (h *GgfServiceManager) OnForeseeMessage(msg message.BaseMessage) (done bool)
- func (h *GgfServiceManager) OnForeseeResponse(rsp message.BaseResponse) (done bool)
- func (h *GgfServiceManager) OnProcessMessage(msg message.BaseMessage) (rsp message.BaseResponse, err error)
- func (h *GgfServiceManager) OnProcessResponse(rsp message.BaseResponse)
- func (h *GgfServiceManager) StopWork()
- func (h *GgfServiceManager) Uninit()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitBranch string // git版本 GitCommitID string // git commit id )
git信息
Functions ¶
This section is empty.
Types ¶
type GgfServiceManager ¶
type GgfServiceManager struct { core.MessageList // 消息列表 GgfServiceStartup time.Time // 主机服务的启动时间 SystemStartup time.Time // 系统的启动时间 }
func (*GgfServiceManager) OnForeseeMessage ¶
func (h *GgfServiceManager) OnForeseeMessage(msg message.BaseMessage) (done bool)
偷窥消息
func (*GgfServiceManager) OnForeseeResponse ¶
func (h *GgfServiceManager) OnForeseeResponse(rsp message.BaseResponse) (done bool)
偷窥消息的回应
func (*GgfServiceManager) OnProcessMessage ¶
func (h *GgfServiceManager) OnProcessMessage(msg message.BaseMessage) (rsp message.BaseResponse, err error)
处理消息
func (*GgfServiceManager) OnProcessResponse ¶
func (h *GgfServiceManager) OnProcessResponse(rsp message.BaseResponse)
处理消息的回应
Click to show internal directories.
Click to hide internal directories.