Documentation
¶
Index ¶
- type GenericCommand
- func (c *GenericCommand) Agent(api iapi.Api, params map[string]string) error
- func (c *GenericCommand) Data() map[string]string
- func (c *GenericCommand) MarshalJSON() ([]byte, error)
- func (c *GenericCommand) Name() string
- func (c *GenericCommand) Node(api iapi.Api, params map[string]string) error
- func (c *GenericCommand) NodeID() uint64
- func (c *GenericCommand) SetData(data map[string]string)
- func (c *GenericCommand) SetNodeID(id uint64)
- func (c *GenericCommand) String() string
- func (c *GenericCommand) Time() time.Time
- func (c *GenericCommand) UnmarshalJSON(data []byte) error
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) 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) 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
Click to show internal directories.
Click to hide internal directories.