simple

package
v0.0.61 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SimpleAdd

func SimpleAdd(a, b int) int

SimpleAdd implements a simple addition to test the performance of the plugin integration vs. a direct call.

Types

type NodeContainer added in v0.0.61

type NodeContainer interface {
	NodeAtInterface(index int) NodeInterface
	NodeAtStruct(index int) NodeStruct
	NodeAtAny(index int) any
}

func NewNodeContainer added in v0.0.61

func NewNodeContainer(count int) NodeContainer

type NodeInterface added in v0.0.61

type NodeInterface interface {
	PreviousInterface() *NodeInterface
	NextInterface() *NodeInterface
	ValueInterface() int
}

type NodeStruct added in v0.0.61

type NodeStruct struct {
	PreviousStruct *NodeInterface
	NextStruct     *NodeInterface
	ValueStruct    int
}

func (*NodeStruct) NextInterface added in v0.0.61

func (ns *NodeStruct) NextInterface() *NodeInterface

func (*NodeStruct) PreviousInterface added in v0.0.61

func (ns *NodeStruct) PreviousInterface() *NodeInterface

func (*NodeStruct) ValueInterface added in v0.0.61

func (ns *NodeStruct) ValueInterface() int

Jump to

Keyboard shortcuts

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