insreport

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReportSecurityLog

func ReportSecurityLog(reportUrl string, evtType, eventSource, evtGwType, sourceId, message, content string) error

Types

type SecurityEventLog

type SecurityEventLog struct {
	EventType   string `json:"eventType"`
	EventSource string `json:"eventSource"`
	GatewayType string `json:"gatewayType"`
	GatewayId   string `json:"gatewayId"`
	EventTime   string `json:"eventTime"`
	Message     string `json:"message"`
	Content     string `json:"content"`
}

func (*SecurityEventLog) EncodeLog

func (v *SecurityEventLog) EncodeLog() ([]byte, error)

Jump to

Keyboard shortcuts

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