ip2cli

package
v0.0.0-...-5c77e99 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package ip2cli contiene il codice per ricavare il cli cliente a partire dall'IP pubblico di TIM.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecuperaCLI

func RecuperaCLI(ctx context.Context, token, ip string) (cli string, err error)

RecuperaCLI recupera il cli dell'indirizzo IP passato come argomento.

Types

type Response

type Response struct {
	XMLName xml.Name `xml:"ip2cliResponse"`
	Text    string   `xml:",chardata"`
	IP      string   `xml:"ip"`
	Address string   `xml:"address"`
	Port    string   `xml:"port"`
}

Response contiene il risultato della richiesta ip2cli.

Jump to

Keyboard shortcuts

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