ui

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(store trace.Store, explainDSN string) *API

func (*API) HandleExplain

func (a *API) HandleExplain(w http.ResponseWriter, r *http.Request)

func (*API) HandleGetSpan

func (a *API) HandleGetSpan(w http.ResponseWriter, r *http.Request)

func (*API) HandleGetTrace

func (a *API) HandleGetTrace(w http.ResponseWriter, r *http.Request)

func (*API) HandleListTraces

func (a *API) HandleListTraces(w http.ResponseWriter, r *http.Request)

type Hub

type Hub struct {
	// contains filtered or unexported fields
}

func NewHub

func NewHub(store trace.Store) *Hub

func (*Hub) HandleSSE

func (h *Hub) HandleSSE(w http.ResponseWriter, r *http.Request)

func (*Hub) Start

func (h *Hub) Start(ctx context.Context)

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(store trace.Store, explainDSN string) *Server

func (*Server) Handler

func (s *Server) Handler() http.Handler

func (*Server) Start

func (s *Server) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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