report

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package report : ポーリング処理

Index

Constants

This section is empty.

Variables

View Source
var UnKnownPortMap = make(map[string]int64)

Functions

func GetAddressInfo

func GetAddressInfo(addr string) *[]AddrInfoEnt

func IsDstServer added in v1.1.0

func IsDstServer(fr *flowReportEnt) bool

IsDstServer : Dstがサーバーならばtrueを返す

func ReportDevice

func ReportDevice(mac, ip string, t int64)

func ReportFlow

func ReportFlow(src string, sp int, dst string, dp, prot int, pkts, bytes int64, t int64)

func ReportUser

func ReportUser(user, server, client string, ok bool, t int64)

func ResetDevicesScore

func ResetDevicesScore()

func ResetFlowsScore

func ResetFlowsScore()

func ResetIPReportScore added in v1.1.0

func ResetIPReportScore()

func ResetServersScore

func ResetServersScore()

func ResetUsersScore

func ResetUsersScore()

func Start

func Start(ctx context.Context) error

func UpdateReportConf

func UpdateReportConf()

Types

type AddrInfoEnt

type AddrInfoEnt struct {
	Level string
	Title string
	Value string
}

Jump to

Keyboard shortcuts

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