elasticsearch

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (Client) Add

func (c Client) Add(ctx context.Context, collection string, key string, value map[string]any) error

func (Client) Close

func (c Client) Close() error

func (Client) Delete

func (c Client) Delete(ctx context.Context, collection string, key string) error

func (Client) Get

func (c Client) Get(ctx context.Context, collection string, key string) (map[string]any, error)

func (Client) List

func (c Client) List(ctx context.Context, collection string, q string, paging *storage.PagingOpts) (storage.Cursor, error)

func (Client) Merge

func (c Client) Merge(ctx context.Context, collection string, key string, value map[string]any) error

func (Client) Set

func (c Client) Set(ctx context.Context, collection string, key string, value map[string]any) error

Jump to

Keyboard shortcuts

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