router

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cnf config.Config)

Types

type IndexInSnap

type IndexInSnap struct {
	Name   string
	Size   int
	Shards []int
}

type IndicesInSnap

type IndicesInSnap map[string]*IndexInSnap

type Router

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

func (*Router) ApiHandler

func (rt *Router) ApiHandler(w http.ResponseWriter, r *http.Request)

func (*Router) Barrel

func (rt *Router) Barrel(ind_array IndicesInSnap, s3 bool) ([]string, []string)

func (*Router) FrontHandler

func (rt *Router) FrontHandler(w http.ResponseWriter, r *http.Request)

web-ui

Jump to

Keyboard shortcuts

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