MCPcopy
hub / github.com/redis/go-redis / mockStreamingProvider

Struct mockStreamingProvider

redis_test.go:962–967  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960})
961
962type mockStreamingProvider struct {
963 mu sync.RWMutex
964 credentials auth.Credentials
965 err error
966 updates chan auth.Credentials
967}
968
969func (m *mockStreamingProvider) Subscribe(listener auth.CredentialsListener) (auth.Credentials, auth.UnsubscribeFunc, error) {
970 if m.err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected