toolsz

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Revision git commit short
	Revision = "unknown"
	// Branch branch name
	Branch = "unknown"
	// BuildUser username@hostname
	BuildUser = "unknown"
	// Date build date
	Date = "unknown"
	// GoVersion golang version used for build
	GoVersion = "unknown"
)

Functions

This section is empty.

Types

type ToolsServer

type ToolsServer interface {
	// Start is a blocking call starting tools server
	Start(ctx context.Context) error
}

ToolsServer is a basic & extensible tools server to expose operations tooling

func New

func New(port int, zapLogLevel zap.AtomicLevel, customHandlers *map[string]http.Handler) ToolsServer

New creates a tools server warning, there's no guarantee on handlers order. It's caller duty to select URLs that do no collision

Jump to

Keyboard shortcuts

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