mirror of
https://github.com/hanzokms/cli.git
synced 2026-10-30 20:30:00 +00:00
12 lines
304 B
Go
12 lines
304 B
Go
package mysql
|
|
|
|
type AnyUserCredentialProvider struct{}
|
|
|
|
func (m *AnyUserCredentialProvider) CheckUsername(username string) (found bool, err error) {
|
|
return true, nil
|
|
}
|
|
|
|
func (m *AnyUserCredentialProvider) GetCredential(username string) (password string, found bool, err error) {
|
|
return "", true, nil
|
|
}
|