node

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	ID    string `json:"id"`
	Name  string `json:"name"`
	Image string `json:"image"`
	Ports []Port `json:"ports"`
}

func (*Node) IsExternal

func (n *Node) IsExternal() bool

type Port

type Port struct {
	Kind  string `json:"kind"`
	Value int    `json:"value"`
}

func (*Port) Label

func (p *Port) Label() string

func (*Port) String

func (p *Port) String() string

Jump to

Keyboard shortcuts

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