WithKeyLogWriter sets the key log writer for debugging. Use of KeyLogWriter compromises security and should only be used for debugging.
(writer io.Writer)
| 459 | // WithKeyLogWriter sets the key log writer for debugging. |
| 460 | // Use of KeyLogWriter compromises security and should only be used for debugging. |
| 461 | func WithKeyLogWriter(writer io.Writer) Option { |
| 462 | return sharedOption(func(c *dtlsConfig) error { |
| 463 | c.keyLogWriter = writer |
| 464 | |
| 465 | return nil |
| 466 | }) |
| 467 | } |
| 468 | |
| 469 | // WithSessionStore sets the session store for resumption. |
| 470 | func WithSessionStore(store SessionStore) Option { |
nothing calls this directly
no test coverage detected
searching dependent graphs…