Dummy is a struct that implements PlainAuth and DeliveryTarget interfaces but does nothing. Useful for testing. It is always registered under the 'dummy' name and can be used in both tests and the actual server code (but the latter is kinda pointless).
| 35 | // It is always registered under the 'dummy' name and can be used in both tests |
| 36 | // and the actual server code (but the latter is kinda pointless). |
| 37 | type Dummy struct{ instName string } |
| 38 | |
| 39 | func (d *Dummy) AuthPlain(username, _ string) error { |
| 40 | return nil |
nothing calls this directly
no outgoing calls
no test coverage detected