webapi

package
v0.4.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: Apache-2.0, BSD-2-Clause Imports: 25 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ParamsWebAPI = &ParametersWebAPI{
	Auth: authentication.AuthConfiguration{
		Scheme: "jwt",
	},
}
View Source
var (
	Plugin *app.Plugin
)

Functions

This section is empty.

Types

type ParametersWebAPI added in v0.3.1

type ParametersWebAPI struct {
	Enabled                   bool                             `default:"true" usage:"whether the web api plugin is enabled"`
	NodeOwnerAddresses        []string                         `default:"" usage:"defines a list of node owner addresses (bech32)"`
	BindAddress               string                           `default:"0.0.0.0:9090" usage:"the bind address for the node web api"`
	DebugRequestLoggerEnabled bool                             `default:"false" usage:"whether the debug logging for requests should be enabled"`
	Auth                      authentication.AuthConfiguration `usage:"configures the authentication for the dashboard service"`
	ReadTimeout               time.Duration                    `default:"20s" usage:"ReadTimeout for go http.Server"`
	WriteTimeout              time.Duration                    `default:"30s" usage:"WriteTimeout for go http.Server"`
}

Jump to

Keyboard shortcuts

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