dataconv

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeGroupId

func EncodeGroupId(groupId string) string

EncodeGroupId - Encode GroupId to number string(output pattern: [10][3][3][25])

func Ipv4IntToIpv4String

func Ipv4IntToIpv4String(ip int64) string

Ipv4IntToIpv4String - Convert Ipv4 int64 to string

func Ipv4ToInt

func Ipv4ToInt(ipv4 string) int64

Ipv4ToInt - Convert Ipv4 string to int64

func Ipv6IntToIpv6String

func Ipv6IntToIpv6String(ip *big.Int) string

Ipv6IntToIpv6String - Convert Ipv6 *big.Int to string

func Ipv6ToInt

func Ipv6ToInt(ipv6 string) *big.Int

Ipv6ToInt - Convert Ipv6 string to *bigInt

Types

This section is empty.

Jump to

Keyboard shortcuts

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