MCPcopy
hub / github.com/XTLS/REALITY / defaultConfig

Function defaultConfig

common.go:1713–1715  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1711var emptyConfig Config
1712
1713func defaultConfig() *Config {
1714 return &emptyConfig
1715}
1716
1717func unexpectedMessageError(wanted, got any) error {
1718 return fmt.Errorf("tls: received unexpected handshake message of type %T when waiting for %T", got, wanted)

Callers 2

clientHandshakeMethod · 0.85
dialFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…