github.com/lei006/gmqtt-broker@v0.0.1/plugins/auth/mock.go (about) 1 package auth 2 3 type mockAuth struct{} 4 5 func (m *mockAuth) CheckACL(action, clientID, username, ip, topic string) bool { 6 return true 7 } 8 9 func (m *mockAuth) CheckConnect(clientID, username, password string) bool { 10 return true 11 }