Versions in this module Expand all Collapse all v0 v0.0.1 Nov 23, 2023 Changes in this version + func NewTransport(rt http.RoundTripper) *http.Client + type ACLCheckPOST struct + ACC string + ClientID string + Topic string + Username string + type ClientCheckPOST struct + ClientID string + Password string + Username string + type Hook struct + func (h *Hook) ID() string + func (h *Hook) Init(config any) error + func (h *Hook) OnACLCheck(cl *mqtt.Client, topic string, write bool) bool + func (h *Hook) OnConnectAuthenticate(cl *mqtt.Client, pk packets.Packet) bool + func (h *Hook) Provides(b byte) bool + type MockRoundTripper struct + func NewMockRoundTripper(ctrl *gomock.Controller) *MockRoundTripper + func (m *MockRoundTripper) EXPECT() *MockRoundTripperMockRecorder + func (m *MockRoundTripper) RoundTrip(arg0 *http.Request) (*http.Response, error) + type MockRoundTripperMockRecorder struct + func (mr *MockRoundTripperMockRecorder) RoundTrip(arg0 interface{}) *gomock.Call + type Options struct + ACLHost *url.URL + Callback func(resp *http.Response) bool + ClientAuthenticationHost *url.URL + RoundTripper http.RoundTripper + SuperUserHost *url.URL + type Transport struct + OriginalTransport http.RoundTripper + func (st *Transport) RoundTrip(r *http.Request) (*http.Response, error)