api

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: BSD-3-Clause Imports: 12 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigBang deprecated

func BigBang(m *dream.Multiverse) error

Deprecated: Use New instead

BigBang is the test/mock entry point (the tau CLI calls New directly and keeps the fixed 1421 default). It allocates a kernel-free port and sets dream.DreamApiPort before starting the server: process-local consumers (taucorder, the dream http client) build their default URLs from DreamApiPort, so setting it here keeps them all in agreement while making concurrent test binaries collision-free.

Types

type Echart

type Echart struct {
	Nodes      []*EchartNode  `json:"nodes"`
	Links      []*EchartLinks `json:"links"`
	Categories []*EchartCat   `json:"categories"`
}

type EchartCat

type EchartCat struct {
	Name string `json:"name"`
}
type EchartLinks struct {
	Source string `json:"source"`
	Target string `json:"target"`
}

type EchartNode

type EchartNode struct {
	Id       string         `json:"id"`
	Name     string         `json:"name"`
	Category int            `json:"category"`
	Value    map[string]int `json:"value"`
}

type Service added in v1.1.9

type Service struct {
	*dream.Multiverse
	// contains filtered or unexported fields
}

func New added in v1.1.9

func New(m *dream.Multiverse, httpService httpIface.Service) (*Service, error)

func (*Service) Ready added in v1.1.9

func (srv *Service) Ready(timeout time.Duration) (bool, error)

func (*Service) Server added in v1.1.9

func (srv *Service) Server() httpIface.Service

type UniverseInfo

type UniverseInfo struct {
	Id string `json:"id"`
}

Jump to

Keyboard shortcuts

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