Documentation ¶
Index ¶
- Constants
- func ArgumentListToString(args []otto.Value) (text string)
- func BuildCustomPacketInfo(packet gopacket.Packet, fragmented bool) (info map[string]interface{}, err error)
- func CopyFile(src string, dst string) error
- func Delete(key int64)
- func FormatJobTag(tag string) string
- func GetJobScheduler() *gocron.Scheduler
- func Init()
- func IsMissingHookError(err error, hook string) bool
- func ItemCapturedHook(entry *api.Entry)
- func ItemQueriedHook(entry *api.Entry) *api.Entry
- func JobFailedHook(tag string, cron string, limit int64, err string)
- func JobPassedHook(tag string, cron string, limit int64)
- func Len() uint
- func MarshalUnmarshalEntry(entry *api.Entry) (result map[string]interface{}, err error)
- func MarshalUnmarshalEntryReverse(result map[string]interface{}) (entry *api.Entry, err error)
- func PacketCapturedHook(packet gopacket.Packet, fragmented bool)
- func Range(f func(key, value interface{}) bool)
- func RecieveLogChannel()
- func SendLog(scriptIndex int64, msg string)
- func SendLogError(scriptIndex int64, msg string)
- func Set(key int64, v *VM)
- func SetEnv(c map[string]interface{})
- type CustomPacketInfo
- type Log
- type LogState
- type VM
Constants ¶
View Source
const HttpRequestTimeoutSecond = 5
Variables ¶
This section is empty.
Functions ¶
func ArgumentListToString ¶
func BuildCustomPacketInfo ¶
func FormatJobTag ¶
func GetJobScheduler ¶
func IsMissingHookError ¶
func ItemCapturedHook ¶
Hook: onItemCaptured, does not accept returns
func ItemQueriedHook ¶
Hook: onItemQueried, accepts Object type returns
func JobFailedHook ¶
Hook: onJobFailed, does not accept returns
func JobPassedHook ¶
Hook: onJobPassed, does not accept returns
func MarshalUnmarshalEntry ¶
func PacketCapturedHook ¶
Hook: onPacketCaptured, does not accept returns
func RecieveLogChannel ¶
func RecieveLogChannel()
func SendLogError ¶
Types ¶
type CustomPacketInfo ¶
Click to show internal directories.
Click to hide internal directories.