find

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 20 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Find added in v0.3.0

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

func New added in v0.3.0

func New(config *config.Config, ctx context.Context, query string, stat *finder.FinderStat) (*Find, error)

func NewCached added in v0.13.4

func NewCached(config *config.Config, body []byte) *Find

func (*Find) WriteJSON added in v0.13.4

func (f *Find) WriteJSON(w io.Writer) error

func (*Find) WritePickle added in v0.3.0

func (f *Find) WritePickle(w io.Writer) error

func (*Find) WriteProtobuf added in v0.3.0

func (f *Find) WriteProtobuf(w io.Writer) error

func (*Find) WriteProtobufV3 added in v0.12.0

func (f *Find) WriteProtobufV3(w io.Writer) error

type Handler

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

func NewHandler

func NewHandler(config *config.Config) *Handler

func (*Handler) Reply

func (h *Handler) Reply(w http.ResponseWriter, r *http.Request, f *Find) (status int)

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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