MCPcopy Create free account
hub / github.com/XTLS/Go / defaultConfig

Function defaultConfig

common.go:1461–1463  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1459var emptyConfig Config
1460
1461func defaultConfig() *Config {
1462 return &emptyConfig
1463}
1464
1465func unexpectedMessageError(wanted, got any) error {
1466 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…