MCPcopy
hub / github.com/1Panel-dev/KubePi / Validate

Method Validate

thirdparty/gotty/server/options.go:41–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func (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
48type HtermPrefernces struct {
49 AltGrMode *string `hcl:"alt_gr_mode" json:"alt-gr-mode,omitempty"`

Callers 1

mainFunction · 0.95

Calls 1

NewMethod · 0.65

Tested by

no test coverage detected