models

package
v0.0.0-...-81c6b1d Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charts

type Charts struct {
	ApplicationLayer interface{} `json:"application_layer,omitempty"`
	TransportLayer   interface{} `json:"transport_layer,omitempty"`
	Traffic          interface{} `json:"traffic,omitempty"`
	Application      interface{} `json:"application,omitempty"`
	AppCategory      interface{} `json:"app_category,omitempty"`
	Protocol         interface{} `json:"protocol,omitempty"`
}

type Dashboard

type Dashboard struct {
	Total  `json:"total"`
	Charts `json:"charts"`
}

type History

type History struct {
	TTL interface{} `json:"ttl"`
	Mac interface{} `json:"mac"`
	Ua  interface{} `json:"ua"`
}

type IPDetail

type IPDetail struct {
	Detail      interface{} `json:"detail"`
	History     History     `json:"history"`
	Features    any         `json:"features"`
	Devices     any         `json:"devices"`
	DevicesLogs any         `json:"devices_logs"`
}

type Response

type Response struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	Data    any    `json:"data,omitempty"`
}

type Total

type Total struct {
	Packets  int    `json:"packets,omitempty"`
	Traffics string `json:"traffics,omitempty"`
	Sessions int    `json:"sessions,omitempty"`
	Users    int64  `json:"users,omitempty"`
}

Jump to

Keyboard shortcuts

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