Ai
1 Star 0 Fork 0

李文建/protoactor-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
messages.go 1004 Bytes
一键复制 编辑 原始数据 按行查看 历史
Potter Dai 提交于 2017-12-03 10:53 +08:00 . Adjust naming
package remote
import "github.com/AsynkronIT/protoactor-go/actor"
type EndpointTerminatedEvent struct {
Address string
}
type EndpointConnectedEvent struct {
Address string
}
type remoteWatch struct {
Watcher *actor.PID
Watchee *actor.PID
}
type remoteUnwatch struct {
Watcher *actor.PID
Watchee *actor.PID
}
type remoteDeliver struct {
header actor.ReadonlyMessageHeader
message interface{}
target *actor.PID
sender *actor.PID
serializerID int32
}
type remoteTerminate struct {
Watcher *actor.PID
Watchee *actor.PID
}
type JsonMessage struct {
TypeName string
Json string
}
var (
stopMessage interface{} = &actor.Stop{}
)
var (
ActorPidRespErr interface{} = &ActorPidResponse{StatusCode: ResponseStatusCodeERROR.ToInt32()}
ActorPidRespTimeout interface{} = &ActorPidResponse{StatusCode: ResponseStatusCodeTIMEOUT.ToInt32()}
ActorPidRespUnavailable interface{} = &ActorPidResponse{StatusCode: ResponseStatusCodeUNAVAILABLE.ToInt32()}
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lwj8507/protoactor-go.git
git@gitee.com:lwj8507/protoactor-go.git
lwj8507
protoactor-go
protoactor-go
v0.0.1

搜索帮助