api

package
v0.0.0-...-6c3584e Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerAPI

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

ServerAPI is the Server's API.

func New

func New(esClient *elastic.Client, index string) *ServerAPI

New return the server's API.

func (*ServerAPI) Run

func (api *ServerAPI) Run(ctx context.Context) error

Run the server.

Jump to

Keyboard shortcuts

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