MCPcopy Index your code
hub / github.com/ulule/limiter / String

Method String

internal/bytebuffer/pool.go:26–29  ·  view source on GitHub ↗

String returns the content buffer.

()

Source from the content-addressed store, hash-verified

24
25// String returns the content buffer.
26func (buffer *ByteBuffer) String() string {
27 // Copied from strings.(*Builder).String
28 return *(*string)(unsafe.Pointer(&buffer.blob)) // nolint: gosec
29}
30
31// Concat appends given arguments to blob content
32func (buffer *ByteBuffer) Concat(args ...string) {

Callers 6

GetIPKeyMethod · 0.80
TestHTTPMiddlewareFunction · 0.80
DefaultKeyGetterFunction · 0.80
getCacheKeyMethod · 0.80
getCacheKeyMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestHTTPMiddlewareFunction · 0.64