transformer

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transformer

type Transformer struct{}

Transformer represents an instance of the ResponseTransformer interface

func New

func New() *Transformer

New returns a new instance of Transformer

func (*Transformer) TransformSearchResponse

func (t *Transformer) TransformSearchResponse(ctx context.Context, responseData []byte) ([]byte, error)

TransformSearchResponse transforms an elastic search response into a structure that matches the v1 api specification

Jump to

Keyboard shortcuts

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