udplog

package
v0.0.0-...-578baf5 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogIP    string
	LogPort  int
	LogType  int
	ServerIP string
)

Functions

func ClientTypeByteToStr

func ClientTypeByteToStr(b byte) string

func CreatePacket

func CreatePacket(payload request.PacketPayload, clientip string, status string, level int, msg string) ([]byte, error)

func Sendlog

func Sendlog(payload request.PacketPayload, clientip string, status string, level int, msg string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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