Files
hmq/plugins/auth/mock.go
joy.zhou 896769fd9d Add acl (#61)
* update

* update auth file
2019-10-30 14:44:18 +08:00

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
}