http

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SEPARATOR = "/"
	WILDCARD  = "*"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrap

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

func New

func New(
	clusterService *cluster.Service,
	clusterMetadataCreateIndexService *cluster.MetadataCreateIndexService,
	clusterMetadataDeleteIndexService *cluster.MetadataDeleteIndexService,
	clusterMetadataIndexAliasService *cluster.MetadataIndexAliasService,
	indicesService *indices.Service,
	transportService *transport.Service,
	indexNameExpressionResolver *indices.NameExpressionResolver,
) *Bootstrap

func (*Bootstrap) Start

func (b *Bootstrap) Start(port string) error

type RequestController

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

func (*RequestController) HandleFastHTTP

func (c *RequestController) HandleFastHTTP(ctx *fasthttp.RequestCtx)

type TrieMatchingMode

type TrieMatchingMode int
const (
	EXPLICIT_NODES_ONLY TrieMatchingMode = iota
	WILDCARD_ROOT_NODES_ALLOWED
	WILDCARD_LEAF_NODES_ALLOWED
	WILDCARD_NODES_ALLOWED
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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