MCPcopy
hub / github.com/redis/go-redis / InfoMap

Method InfoMap

commands.go:635–644  ·  view source on GitHub ↗
(ctx context.Context, sections ...string)

Source from the content-addressed store, hash-verified

633}
634
635func (c cmdable) InfoMap(ctx context.Context, sections ...string) *InfoCmd {
636 args := make([]interface{}, 1+len(sections))
637 args[0] = "info"
638 for i, section := range sections {
639 args[i+1] = section
640 }
641 cmd := NewInfoCmd(ctx, args...)
642 _ = c(ctx, cmd)
643 return cmd
644}
645
646func (c cmdable) LastSave(ctx context.Context) *IntCmd {
647 cmd := NewIntCmd(ctx, "lastsave")

Callers 1

commands_test.goFile · 0.80

Calls 1

NewInfoCmdFunction · 0.85

Tested by

no test coverage detected