Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IModuleEventReq ¶
type IModuleEventReq interface { SetEventType(eventType string) GetEventType() string SetMsg(msg interface{}) GetMsg() interface{} SetResultChan(result chan IModuleEventResult) GetResultChan() chan IModuleEventResult SetMustReturn(bSet bool) GetMustReturn() bool WriteResultData(resData interface{}) UnmarshalToDaprEventData(v interface{}) error UnmarshalToDaprCallData(v interface{}) error }
type IModuleEventResult ¶
type IModuleInterface ¶
type IServiceHandler ¶
type IServiceHandler interface { GetGameServiceDaprCallTypes() []string GetGameServiceDaprEventTypes() []string GetWeb3DaprCallTypes() []string GetWeb3DaprEventTypes() []string RegisterClientEvent() RegisterGameServiceDaprCall() RegisterGameServiceDaprEvent() RegisterWeb3DaprCall() RegisterWeb3DaprEvent() EventCall(env IModuleEventReq) IModuleEventResult EventCallNoReturn(env IModuleEventReq) OnEvent(env IModuleEventReq) }
type IServiceHeartInterface ¶
type IServiceHeartInterface interface { IModuleInterface SendHeart(curMs int64) error }
type ServiceEventFunc ¶
type ServiceEventFunc func(env IModuleEventReq)
Click to show internal directories.
Click to hide internal directories.