2016-08-13 09:44:36 -04:00
|
|
|
package ws
|
|
|
|
|
|
|
|
type Config struct {
|
2016-09-30 10:53:40 -04:00
|
|
|
ConnectionReuse bool
|
|
|
|
Path string
|
2016-08-13 09:44:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
func (this *Config) Apply() {
|
|
|
|
effectiveConfig = this
|
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
effectiveConfig = &Config{
|
|
|
|
ConnectionReuse: true,
|
|
|
|
Path: "",
|
|
|
|
}
|
|
|
|
)
|