-
Notifications
You must be signed in to change notification settings - Fork 204
/
client_event.go
31 lines (27 loc) · 1.26 KB
/
client_event.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| http://www.hprose.org/ |
| |
\**********************************************************/
/**********************************************************\
* *
* rpc/client_event.go *
* *
* hprose client event for Go. *
* *
* LastModified: Sep 23, 2016 *
* Author: Ma Bingyao <andot@hprose.com> *
* *
\**********************************************************/
package rpc
// ClientEvent is the client event
type ClientEvent interface{}
type onErrorEvent interface {
OnError(name string, err error)
}
type onFailswitchEvent interface {
OnFailswitch(Client)
}