Documentation ¶ Overview ¶ Package ip2cli contiene il codice per ricavare il cli cliente a partire dall'IP pubblico di TIM. Index ¶ func RecuperaCLI(ctx context.Context, token, ip string) (cli string, err error) type Response 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. Source Files ¶ View all Source files ip2cli.go Click to show internal directories. Click to hide internal directories.