github.com/lei006/gmqtt-broker@v0.0.1/plugins/bridge/mock.go (about) 1 package bridge 2 3 type mockMQ struct{} 4 5 func (m *mockMQ) Publish(e *Elements) (bool, error) { 6 return false, nil 7 }