Registry / http-client / ownlocal-goes

ownlocal-goes

JSON →
library1.0.0gogounverified

A Go client library for accessing the Elasticsearch API.

go get github.com/OwnLocal/goes
INSTALL
IMPORT
SIG · OWNLOCAL-GOES
O
ownlocal-goes
http-clientgov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

goes
github.com/OwnLocal/goes

Connect to Elasticsearch and index a document.

package main import ( "fmt" "github.com/OwnLocal/goes" ) func main() { conn := goes.NewConnection("localhost", "9200") res, _ := conn.Index("test", "type", "1", map[string]string{"field": "value"}) fmt.Println(res.Id) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
ownlocal-goes — go get ownlocal-goes · libregistry