Files
hmq/plugins/auth/mock.go
2019-08-16 18:18:19 +08:00

12 lines
212 B
Go

package auth
type mockAuth struct{}
func (m *mockAuth) CheckACL(action, username, topic string) bool {
return true
}
func (m *mockAuth) CheckConnect(clientID, username, password string) bool {
return true
}