Skip to content

Commit f7bf796

Browse files
committed
moved docs from interfaces to base client
Signed-off-by: Edward Liang <edward.liang@improving.com>
1 parent e75efa8 commit f7bf796

10 files changed

+3096
-2741
lines changed

go/api/base_client.go

Lines changed: 3087 additions & 135 deletions
Large diffs are not rendered by default.

go/api/connection_management_commands.go

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,8 @@ package api
88
//
99
// [valkey.io]: https://valkey.io/commands/#connection
1010
type ConnectionManagementCommands interface {
11-
// Pings the server.
12-
//
13-
// Return value:
14-
// Returns "PONG".
15-
//
16-
// For example:
17-
// result, err := client.Ping()
18-
//
19-
// [valkey.io]: https://valkey.io/commands/ping/
11+
2012
Ping() (string, error)
2113

22-
// Pings the server with a custom message.
23-
//
24-
// Parameters:
25-
// message - A message to include in the `PING` command.
26-
//
27-
// Return value:
28-
// Returns the copy of message.
29-
//
30-
// For example:
31-
// result, err := client.PingWithMessage("Hello")
32-
//
33-
// [valkey.io]: https://valkey.io/commands/ping/
3414
PingWithMessage(message string) (string, error)
3515
}

0 commit comments

Comments
 (0)