state

package
v4.54.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VersionedTable added in v4.37.0

func VersionedTable(name string) *schema.Table

Types

type Client

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

func NewClient

func NewClient(ctx context.Context, conn *grpc.ClientConn, tableName string) (*Client, error)

func NewClientWithTable added in v4.37.0

func NewClientWithTable(ctx context.Context, conn *grpc.ClientConn, table *schema.Table) (*Client, error)

func (*Client) Close added in v4.40.0

func (c *Client) Close() error

func (*Client) Flush

func (c *Client) Flush(ctx context.Context) error

func (*Client) GetKey

func (c *Client) GetKey(_ context.Context, key string) (string, error)

func (*Client) SetKey

func (c *Client) SetKey(_ context.Context, key string, value string) error

Jump to

Keyboard shortcuts

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