()
| 39 | } |
| 40 | |
| 41 | func (options *Options) Validate() error { |
| 42 | if options.EnableTLSClientAuth && !options.EnableTLS { |
| 43 | return errors.New("TLS client authentication is enabled, but TLS is not enabled") |
| 44 | } |
| 45 | return nil |
| 46 | } |
| 47 | |
| 48 | type HtermPrefernces struct { |
| 49 | AltGrMode *string `hcl:"alt_gr_mode" json:"alt-gr-mode,omitempty"` |