public

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

README

Frontend

tl;dr

yarn install
# Make sure you have the backend running.
yarn dev

Overrides

This repository currently uses [grafana/pyroscope] components, which then are overridden as necessary, using typescript's alias and webpack alias configuration. See tsconfig.json and webpack.common.js for more info.

Guidelines for imports

It may be confusing to see different imports, so let's go over the most common examples:

@pyroscope -> Refers to code in this repository. Note that this is needed since other downstream repositories may use this repository, and they also may want to override specific files.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AssetsEmbedded = false

Functions

func Assets

func Assets() (http.FileSystem, error)

func ExecuteTemplate

func ExecuteTemplate(file []byte, params Params) ([]byte, error)

ExecuteTemplate executes a template using parameters It will transform each parameter as needed

func NewIndexHandler

func NewIndexHandler(_ string) (http.HandlerFunc, error)

Types

type Params

type Params struct {
	BasePath string
}

Jump to

Keyboard shortcuts

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