You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
910 B
32 lines
910 B
package server |
|
|
|
import ( |
|
"errors" |
|
) |
|
|
|
// . |
|
var ( |
|
// server |
|
ErrHandshake = errors.New("handshake failed") |
|
ErrOperation = errors.New("request operation not valid") |
|
// ring |
|
ErrRingEmpty = errors.New("ring buffer empty") |
|
ErrRingFull = errors.New("ring buffer full") |
|
// timer |
|
ErrTimerFull = errors.New("timer full") |
|
ErrTimerEmpty = errors.New("timer empty") |
|
ErrTimerNoItem = errors.New("timer item not exist") |
|
// channel |
|
ErrPushMsgArg = errors.New("rpc pushmsg arg error") |
|
ErrPushMsgsArg = errors.New("rpc pushmsgs arg error") |
|
ErrMPushMsgArg = errors.New("rpc mpushmsg arg error") |
|
ErrMPushMsgsArg = errors.New("rpc mpushmsgs arg error") |
|
// bucket |
|
ErrBroadCastArg = errors.New("rpc broadcast arg error") |
|
ErrBroadCastRoomArg = errors.New("rpc broadcast room arg error") |
|
|
|
// room |
|
ErrRoomDroped = errors.New("room droped") |
|
// rpc |
|
ErrLogic = errors.New("logic rpc is not available") |
|
)
|
|
|