-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path1_1_compatible.go
29 lines (26 loc) · 1.25 KB
/
1_1_compatible.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
/**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| http://www.hprose.org/ |
| |
\**********************************************************/
/**********************************************************\
* *
* hprose/1.1_compatible.go *
* *
* 1.1 compatible for Golang. *
* *
* LastModified: Feb 15, 2014 *
* Author: Ma Bingyao <andot@hprose.com> *
* *
\**********************************************************/
package hprose
import (
"time"
)
// go 1.1 didn't have SetKeepAlivePeriod in TCPConn, so we should check it.
type iKeepAlivePeriod interface {
SetKeepAlivePeriod(time.Duration) error
}