generic

package
v0.1.61 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericCommand

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

func NewCommand

func NewCommand(name string, data map[string]string) *GenericCommand

func (*GenericCommand) Agent

func (c *GenericCommand) Agent(api iapi.Api, params map[string]string) error

func (*GenericCommand) Data

func (c *GenericCommand) Data() map[string]string

func (*GenericCommand) MarshalJSON

func (c *GenericCommand) MarshalJSON() ([]byte, error)

func (*GenericCommand) Name

func (c *GenericCommand) Name() string

func (*GenericCommand) Node

func (c *GenericCommand) Node(api iapi.Api, params map[string]string) error

func (*GenericCommand) NodeID

func (c *GenericCommand) NodeID() uint64

func (*GenericCommand) SetData

func (c *GenericCommand) SetData(data map[string]string)

func (*GenericCommand) SetNodeID

func (c *GenericCommand) SetNodeID(id uint64)

func (*GenericCommand) String

func (c *GenericCommand) String() string

func (*GenericCommand) Time

func (c *GenericCommand) Time() time.Time

func (*GenericCommand) UnmarshalJSON

func (c *GenericCommand) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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