type CredentialStore … type StaticCredentials … func (s StaticCredentials) Valid(user, password string) bool { … }