Skip to content

akbariandev/quickwit-gosdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickwit Go SDK

The Go SDK specifically for Quickwit search engine

Installation

go get github.com/akbariandev/quickwit-gosdk

How to use

Search Query

package main

import (
    "fmt"
    quickwitgo "github.com/akbariandev/quickwit-gosdk"
)

func main() {
	client := quickwitgo.NewClient("http://localhost:7280")
	queryRequest := quickwitgo.SearchRequest{Query: "events:error"}
	response, err := client.Search("otel-traces-v0_7", queryRequest)
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println(response)
}

About

The Go SDK specifically for Quickwit search engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages