dashboard

package
v0.0.0-...-6339223 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

*

The version package simply prints the version of the dashboard binary file.

Index

Constants

View Source
const ComponentId = 6204

Identfier of the package found messages having the format "senzing-6204xxxx".

Variables

View Source
var IdMessages = map[int]string{
	2000: "Entry: %+v",
	2001: "SENZING_ENGINE_CONFIGURATION_JSON: %v",
	2002: "Enabling all services",
	2003: "Server listening on port %v",
	3001: "Error reading file: %s",
	4001: "Call to net.Listen(tcp, %s) failed.",
	5001: "Failed to serve.",
}

Message templates.

View Source
var IdStatuses = map[int]string{}

Status strings for specific messages.

Functions

This section is empty.

Types

type Dashboard

type Dashboard interface {
	Serve(ctx context.Context) error
}

type DashboardImpl

type DashboardImpl struct {
	ServerPort int
	TtyOnly    bool
	// contains filtered or unexported fields
}

DashboardImpl is the default implementation of the Dashboard interface.

func (*DashboardImpl) Serve

func (dashboard *DashboardImpl) Serve(ctx context.Context) error

Print a version string.

Jump to

Keyboard shortcuts

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