Files
hmq/plugins/auth/mock.go
2019-10-30 14:43:36 +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
}