api

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: BSD-3-Clause Imports: 12 Imported by: 1

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

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