| 12345678910111213141516171819202122 |
- package ws
- type Config struct {
- ConnectionReuse bool
- Path string
- Pto string
- Cert string
- PrivKey string
- DeveloperInsecureSkipVerify bool
- }
- func (this *Config) Apply() {
- effectiveConfig = this
- }
- var (
- effectiveConfig = &Config{
- ConnectionReuse: true,
- Path: "",
- Pto: "",
- }
- )
|