util

package
v0.0.0-...-e973567 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DealAsterisk

func DealAsterisk(s string) ([]string, error)

func DealCIDR

func DealCIDR(cidr string) ([]string, error)

func DealHyphen

func DealHyphen(s string) ([]string, error)

func IpParse

func IpParse(s string) ([]string, error)

func PDUUuidFromBytes

func PDUUuidFromBytes(uuid string) []byte

处理PDU uuid 转成字节数组

func Random

func Random(n int) []byte

func ReadFile

func ReadFile(filename string) ([]byte, error)

读文件

func SizeOfStruct

func SizeOfStruct(data interface{}) int

计算结构体大小

Types

This section is empty.

Jump to

Keyboard shortcuts

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