gomemcache
gomemcache copied to clipboard
Go Memcached client library #golang
I am creating this issue to inform you that we (OpenTelemetry contributors) are planning to deprecate https://pkg.go.dev/go.opentelemetry.io/contrib/instrumentation/github.com/bradfitz/gomemcache/memcache/otelmemcache. You can consider copying the OpenTelemetry instrumentation to this repository or organization. You...
Does it support connecting to Memcached through udp. If so, what should I do.
Currently, gomemcache 1. acquires a connection 2. sends a request 3. receives a response 4. Releases a connection back to the connection pool https://github.com/bradfitz/gomemcache/blob/f7880d5bcff45511fd1679c4c42e611c349e954a/memcache/memcache.go#L290-L304 It's possible in the memcache protocol...
Exposed the 'version' call from ping as a method on Client
Signed-off-by: Muhammad Raisul Islam Evan
I noticed the following code works fine: ```go c := *memcache.New() err := c.Ping() if err != nil { panic(err) } fmt.Println("No problem") ``` At first glance it looks okay...
This pull request introduces the `GetAndTouch` method to the Client struct. The `GetAndTouch` method retrieves a cache item by its key and updates its expiration time, ensuring that the item...