network

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FloatEnlarge

func FloatEnlarge[F generic.Float](f F) (value int64, multi int64)

FloatEnlarge 用于将浮点型放大后进行网络传输,返回放大后的值和放大的倍率

  • 存在精度丢失问题,如1.13

func IP

func IP() (ip net.IP, err error)

IP 返回本机出站地址

Types

This section is empty.

Jump to

Keyboard shortcuts

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