Documentation
¶
Index ¶
- type NaslArray
- func (n *NaslArray) AddEleToArray(index string, ele interface{}) error
- func (n *NaslArray) AddEleToList(index int, ele interface{}) error
- func (n *NaslArray) Copy() *NaslArray
- func (n *NaslArray) GetElementByNum(i int) interface{}
- func (n *NaslArray) GetMaxIdx() int
- func (n *NaslArray) Interface() interface{}
- type NaslData
- type NaslInt
- type NaslString
- type NaslType
- type SortableArrayByString
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NaslArray ¶
type NaslArray struct { Hash_elt map[string]interface{} Num_elt []interface{} // contains filtered or unexported fields }
func NewEmptyNaslArray ¶
func NewEmptyNaslArray() *NaslArray
func NewNaslArray ¶
func (*NaslArray) AddEleToArray ¶
func (*NaslArray) AddEleToList ¶
func (*NaslArray) GetElementByNum ¶
type NaslString ¶
type NaslString string
func NewNaslString ¶
func NewNaslString(s string) *NaslString
func (*NaslString) Interface ¶
func (n *NaslString) Interface() interface{}
type SortableArrayByString ¶
type SortableArrayByString []interface{}
func (SortableArrayByString) Len ¶
func (a SortableArrayByString) Len() int
func (SortableArrayByString) Less ¶
func (a SortableArrayByString) Less(i, j int) bool
func (SortableArrayByString) Swap ¶
func (a SortableArrayByString) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.