File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ testdata/*
77redis8tests.sh
88coverage.txt
99** /coverage.txt
10- .vscode
10+ .vscode
11+ tmp /*
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ type StreamingCredentialsProvider interface {
1010 // It returns the current credentials, a cancel function to unsubscribe from the provider,
1111 // and an error if any.
1212 // TODO(ndyakov): Should we add context to the Subscribe method?
13- Subscribe (listener CredentialsListener ) (Credentials , CancelProviderFunc , error )
13+ Subscribe (listener CredentialsListener ) (Credentials , UnsubscribeFunc , error )
1414}
1515
16- // CancelProviderFunc is a function that is used to cancel the subscription to the credentials provider.
16+ // UnsubscribeFunc is a function that is used to cancel the subscription to the credentials provider.
1717// It is used to unsubscribe from the provider when the credentials are no longer needed.
18- type CancelProviderFunc func () error
18+ type UnsubscribeFunc func () error
1919
2020// CredentialsListener is an interface that defines the methods for a credentials listener.
2121// It is used to receive updates when the credentials change.
You can’t perform that action at this time.
0 commit comments