You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
328 B
Go
19 lines
328 B
Go
package obfssh
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// Conf keeps the configure of server or client
|
|
type Conf struct {
|
|
|
|
// Timeout is the socket timeout on read/write
|
|
Timeout time.Duration
|
|
|
|
// KeepAliveInterval the keep alive interval
|
|
KeepAliveInterval time.Duration
|
|
|
|
// KeepAliveMax the max times of keep alive error
|
|
KeepAliveMax int
|
|
}
|