Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved documentation comments to base_client file and made changes to GlideClient for pkgsite to work #2981

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
36776df
moved docs from interfaces to base client
edlng Jan 16, 2025
8337cad
GO: xpending command (#2957)
jbrinkman Jan 16, 2025
d8ae33d
GO Implement Dump, Restore and ObjectEncoding Command (#2781)
EdricCua Jan 17, 2025
3b7ddc3
GO: Implement Echo Command (#2863)
EdricCua Jan 17, 2025
11acb5d
Go: `XREADGROUP`. (#2949)
Yury-Fridlyand Jan 17, 2025
a5fbce5
Java: Shadow protobuf dependency (#2931)
Yury-Fridlyand Jan 17, 2025
18aa5f6
Go: Add commands ZRemRangeByRank/ZRemRangeByScore/ZRemRangeByLex (#2967)
tjzhang-BQ Jan 17, 2025
043c51d
Go: XAUTOCLAIM. (#2955)
Yury-Fridlyand Jan 17, 2025
7349b1a
Go: update return types & response handlers for scan commands (#2956)
tjzhang-BQ Jan 18, 2025
dfff4e0
Go implement object freq object idle object ref count command (#2958)
EdricCua Jan 20, 2025
2030000
Go: Implement Sort, Sort ReadOnly and Sort Store commands (#2888)
niharikabhavaraju Jan 20, 2025
5096018
Go: `XGROUP CREATE`. (#2966)
Yury-Fridlyand Jan 20, 2025
c37ca67
Go: Add stream commands XGroupCreateConsumer/XGroupDelConsumer (#2975)
jbrinkman Jan 20, 2025
9b22bb3
Go: Fix return types, part 6 (#2965)
Yury-Fridlyand Jan 20, 2025
6377cfb
Go: Fix return types, parn 5 (#2964)
Yury-Fridlyand Jan 20, 2025
c01bfa3
added exposed types for GlideClient
edlng Jan 20, 2025
a537763
fixed indentation issues
edlng Jan 20, 2025
a5eda6f
performed rebase to pass ci
edlng Jan 20, 2025
78715d6
Merge remote-tracking branch 'upstream/main' into go/pkgsite-fix
edlng Jan 21, 2025
b404f8f
Merge remote-tracking branch 'upstream/main' into go/pkgsite-fix
edlng Jan 21, 2025
e14cc01
Addressed some documentation changes in examples
edlng Jan 21, 2025
f77e2e3
Renamed interfaces to be more informative
edlng Jan 22, 2025
f27fcf3
Fix lint error
edlng Jan 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,073 changes: 3,058 additions & 15 deletions go/api/base_client.go

Large diffs are not rendered by default.

38 changes: 0 additions & 38 deletions go/api/connection_management_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,9 @@ package api
//
// [valkey.io]: https://valkey.io/commands/#connection
type ConnectionManagementCommands interface {
// Pings the server.
//
// Return value:
// Returns "PONG".
//
// For example:
// result, err := client.Ping()
//
// [valkey.io]: https://valkey.io/commands/ping/
Ping() (string, error)

// Pings the server with a custom message.
//
// Parameters:
// message - A message to include in the `PING` command.
//
// Return value:
// Returns the copy of message.
//
// For example:
// result, err := client.PingWithMessage("Hello")
//
// [valkey.io]: https://valkey.io/commands/ping/
PingWithMessage(message string) (string, error)

// Echo the provided message back.
// The command will be routed a random node.
//
// Parameters:
// message - The provided message.
//
// Return value:
// The provided message
//
// For example:
// result, err := client.Echo("Hello World")
// if err != nil {
// // handle error
// }
// fmt.Println(result.Value()) // Output: Hello World
//
// [valkey.io]: https://valkey.io/commands/echo/
Echo(message string) (Result[string], error)
}
Loading
Loading