rangedbui

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: BSD-3-Clause Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FuncMap = template.FuncMap{
	"formatDate": formatDate,
	"formatJson": formatJson,
	"rangeDBVersion": func() string {
		return rangedb.Version
	},
}

FuncMap defines the functions available to templates.

View Source
var StaticAssets embed.FS
View Source
var Templates embed.FS

Functions

func New

func New(
	aggregateTypeStats *projection.AggregateTypeStats,
	store rangedb.Store,
) *webUI

New constructs a webUI web application.

Types

type AggregateTypeInfo

type AggregateTypeInfo struct {
	Name        string
	TotalEvents uint64
}

AggregateTypeInfo contains the aggregate type data available to templates.

type StreamInfo

type StreamInfo struct {
	Name        string
	TotalEvents uint64
}

StreamInfo contains the stream data available to templates.

Directories

Path Synopsis
gen

Jump to

Keyboard shortcuts

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