mirror of
https://github.com/fhmq/hmq.git
synced 2026-04-24 10:38:34 +00:00
12 lines
226 B
Go
12 lines
226 B
Go
package auth
|
|
|
|
type mockAuth struct{}
|
|
|
|
func (m *mockAuth) CheckACL(action, clientID, username, ip, topic string) bool {
|
|
return true
|
|
}
|
|
|
|
func (m *mockAuth) CheckConnect(clientID, username, password string) bool {
|
|
return true
|
|
}
|