Documentation ¶
Index ¶
Constants ¶
View Source
const ( IntervalKey = db.Interval IntervalNameKey = db.Interval + ":name" )
View Source
const ( IntervalActionKey = db.IntervalAction IntervalActionNameKey = db.IntervalAction + ":name" IntervalActionParentKey = db.IntervalAction + ":parent" IntervalActionTargetKey = db.IntervalAction + ":target" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbCommand ¶
type DbCommand struct { Command string //The actual Redis API command Hash string //Indicates which hash index the command should be applied toward Key string //Indicates the key that will be targeted in the given Hash Value string //If applicable the value to be assigned to the key Rank int64 //If applicable, the rank to be assigned to a given key }
DbCommand is used to represent information about a specific Redis command If this strategy works, this type is called "DbCommand" in order to differentiate from the EdgeX model Command
type Interval ¶
func NewInterval ¶
type IntervalAction ¶
type IntervalAction struct {
contract.IntervalAction
}
func NewIntervalAction ¶
func NewIntervalAction(from contract.IntervalAction) (ia IntervalAction)
func (IntervalAction) Add ¶
func (ia IntervalAction) Add() (cmds []DbCommand)
func (IntervalAction) Remove ¶
func (ia IntervalAction) Remove() (cmds []DbCommand)
Click to show internal directories.
Click to hide internal directories.