Documentation
¶
Index ¶
- type Actor
- func (a *Actor) HandlerInfo(msg *model.Message) model.Handler
- func (a *Actor) HandlerStop() model.Handler
- func (a *Actor) Sent2client(protoID uint64, data proto.Message) error
- func (a *Actor) Sent2clientByte(protoID uint64, data []byte) error
- func (a *Actor) SentError2client(code uint32, msg string) error
- type CreateRouter
- type IRouter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor struct {
model.QuickHandel
Router IRouter
// contains filtered or unexported fields
}
func (*Actor) HandlerStop ¶
type CreateRouter ¶
type CreateRouter func() IRouter
Directories
¶
| Path | Synopsis |
|---|---|
|
example
|
|
|
game/client/client1
command
|
|
|
game/client/client2
command
|
|
|
game/client/client3
command
|
|
|
game/client/client4
command
|
|
|
game/client/client5
command
|
|
|
game/client/client6
command
|
|
|
game/server/name_server
command
|
|
|
game/server/server1
command
|
|
|
game/server/server2
command
|
|
|
simple_game/cycles
command
|
|
|
simple_game/gold_game
command
|
|
|
test_client
command
|
|
|
test_client/server/name_server
command
|
|
|
tcp
|
|
Click to show internal directories.
Click to hide internal directories.






