util

package
v0.0.0-...-25cadc1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HexIptoDec

func HexIptoDec(slaveIP string) string

func Sha256

func Sha256(msg []byte) []byte

Sha256 sha256

Types

type CityInfo

type CityInfo struct {
	Pointx string
	Pointy string
}

CityInfo struct

type Country

type Country struct {
	Country   string
	Province  string
	City      string
	Latitude  float32
	Longitude float32
}

Country struct

type CountryDetails

type CountryDetails struct {
	City CityInfo
}

CountryDetails struct

type SzTongSpoint

type SzTongSpoint struct {
	Detail CountryDetails
}

func Ip2pointxy

func Ip2pointxy(ip string) SzTongSpoint

ip2pointxy ip2pointxy

Jump to

Keyboard shortcuts

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