MCPcopy Create free account
hub / github.com/astercloud/aster / EchoActor

Struct EchoActor

pkg/actor/actor_test.go:42–42  ·  view source on GitHub ↗

============== 测试 Actor ============== EchoActor 回声 Actor,收到消息后回复发送者

Source from the content-addressed store, hash-verified

40
41// EchoActor 回声 Actor,收到消息后回复发送者
42type EchoActor struct{}
43
44func (a *EchoActor) Receive(ctx *Context, msg Message) {
45 switch m := msg.(type) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected