PayloadAuthPassword is a payload for a message that indicates an authentication attempt, successful, or failed authentication.
| 5 | // PayloadAuthPassword is a payload for a message that indicates an authentication attempt, successful, or failed |
| 6 | // authentication. |
| 7 | type PayloadAuthPassword struct { |
| 8 | Username string `json:"username" yaml:"username"` |
| 9 | Password []byte `json:"password" yaml:"password"` |
| 10 | } |
| 11 | |
| 12 | // Equals compares two PayloadAuthPassword payloads. |
| 13 | func (p PayloadAuthPassword) Equals(other Payload) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected