This repository has been archived on 2024-03-03. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
adlin/pkg/login-validator/cmd/auth.go
2021-02-13 21:23:18 +01:00

11 lines
214 B
Go

package main
type AuthMethod interface {
checkAuth(username, password string) (bool, error)
}
type NoAuth struct{}
func (NoAuth) checkAuth(username, password string) (res bool, err error) {
return true, nil
}