CounterActor 计数器 Actor
| 50 | |
| 51 | // CounterActor 计数器 Actor |
| 52 | type CounterActor struct { |
| 53 | count int64 |
| 54 | } |
| 55 | |
| 56 | func (a *CounterActor) Receive(ctx *Context, msg Message) { |
| 57 | switch m := msg.(type) { |
nothing calls this directly
no outgoing calls
no test coverage detected