httpserver

package
v3.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetHttpServerConfigFlags

func SetHttpServerConfigFlags(fs *pflag.FlagSet)

Types

type FzfHttpServer

type FzfHttpServer struct {
	Port        int
	ResourceHit int
	// contains filtered or unexported fields
}

func StartHttpServer

func StartHttpServer(ctx context.Context, h *HttpServerConfigCli, storeConfig *store.StoreConfig, stores []*store.Store) (*FzfHttpServer, error)

type HttpServerConfigCli

type HttpServerConfigCli struct {
	ListenAddress   string
	HttpProfAddress string
	Debug           bool
}

func GetHttpServerConfigCli

func GetHttpServerConfigCli() HttpServerConfigCli

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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