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

Method rand

common.go:946–952  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

944}
945
946func (c *Config) rand() io.Reader {
947 r := c.Rand
948 if r == nil {
949 return rand.Reader
950 }
951 return r
952}
953
954func (c *Config) time() time.Time {
955 t := c.Time

Callers 15

ticketKeysMethod · 0.95
writeRecordLockedMethod · 0.80
makeClientHelloMethod · 0.80
doFullHandshakeMethod · 0.80
sendClientCertificateMethod · 0.80
processClientHelloMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected