manticore

package
v0.0.0-...-edf151e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: BSD-3-Clause Imports: 7 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 {
	Index string
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, cfg *config.Manticore) (*Client, error)

func (*Client) Bulk

func (c *Client) Bulk(ctx context.Context, entries *[]entry.Entry) error

type Insert

type Insert struct {
	Index string      `json:"index"`
	ID    *int64      `json:"id,omitempty"`
	Doc   entry.Entry `json:"doc"`
}

type Root

type Root struct {
	Insert Insert `json:"insert"`
}

Jump to

Keyboard shortcuts

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