dicedb

package module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2025 License: BSD-3-Clause Imports: 7 Imported by: 7

README

dicedb-go

Go SDK for DiceDB.

Installations

$ go get github.com/dicedb/dicedb-go

Get Started

To start using DiceDB with Golang, you can follow the example tutorials present in the dice/examples directory.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithID added in v1.0.2

func WithID(id string) option

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(host string, port int, opts ...option) (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) Fire added in v1.0.2

func (c *Client) Fire(cmd *wire.Command) *wire.Response

func (*Client) FireString added in v1.0.2

func (c *Client) FireString(cmdStr string) *wire.Response

func (*Client) WatchCh added in v1.0.2

func (c *Client) WatchCh() (<-chan *wire.Response, error)

Directories

Path Synopsis
examples
example_ping command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL