MCPcopy
hub / github.com/redpanda-data/console / String

Method String

backend/pkg/bsr/client.go:57–59  ·  view source on GitHub ↗

String returns the cache key as a string for use with twmb/go-cache

()

Source from the content-addressed store, hash-verified

55
56// String returns the cache key as a string for use with twmb/go-cache
57func (k cacheKey) String() string {
58 return k.messageName + "@" + k.commit
59}
60
61// bearerTokenInterceptor creates a Connect interceptor that adds Authorization header
62func bearerTokenInterceptor(token string) connect.UnaryInterceptorFunc {

Callers 15

GetMessageDescriptorMethod · 0.95
GetFileDescriptorSetMethod · 0.95
OnBrokerConnectMethod · 0.45
OnBrokerDisconnectMethod · 0.45
createClientMethod · 0.45
TestNewSlogLoggerFunction · 0.45
TestLoggerMethodsFunction · 0.45
TestWithLevelFunction · 0.45
TestLoggerWithFunction · 0.45
TestStructuredLoggingFunction · 0.45
TestWithFormatFunction · 0.45
TestDefaultFormatFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestNewSlogLoggerFunction · 0.36
TestLoggerMethodsFunction · 0.36
TestWithLevelFunction · 0.36
TestLoggerWithFunction · 0.36
TestStructuredLoggingFunction · 0.36
TestWithFormatFunction · 0.36
TestDefaultFormatFunction · 0.36
TestFormatOverrideFunction · 0.36
ExampleFunction · 0.36
Example_withPrometheusFunction · 0.36
Example_withContextFunction · 0.36