Documentation ¶
Index ¶
- func APICall(apiAddress string, data interface{})
- func CryptoCurrency(args []string)
- func Currency(args []string)
- func GenericAPICall(address string, data interface{}, tbTransport *http.Transport)
- func IPInfo(args []string)
- func SafeParam(s string) string
- func SimplifyCurrMap(mp map[string](map[string]float64), reqC string) map[string]float64
- func Space()
- func Tor()
- func TorAPICall(apiAddress string, data interface{})
- type Pair
- type PairList
- type SCheckTorprojectOrg
- type SFixerIo
- type SGoogleGEO
- type SIPAPICom
- type SOpenAstros
- type SOpenGeneric
- type SOpenIssnow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericAPICall ¶
GenericAPICall function
func SimplifyCurrMap ¶
SimplifyCurrMap function
Types ¶
type SCheckTorprojectOrg ¶
SCheckTorprojectOrg struct
type SFixerIo ¶
type SFixerIo struct { Base string `json:"base"` Date string `json:"date"` Rates map[string]float64 `json:"rates"` }
SFixerIo struct
type SGoogleGEO ¶
type SGoogleGEO struct { Results []struct { FormattedAddress string `json:"formatted_address"` } `json:"results"` Status string `json:"status"` }
SGoogleGEO source : http://maps.google.com/maps/api/geocode/json?latlng=4.1108,34.5748
type SIPAPICom ¶
type SIPAPICom struct { As string `json:"as"` City string `json:"city"` Country string `json:"country"` CountryCode string `json:"countryCode"` ISP string `json:"isp"` Lat float64 `json:"lat"` Lon float64 `json:"lon"` Org string `json:"org"` Query string `json:"query"` Region string `json:"region"` RegionName string `json:"regionName"` Status string `json:"status"` Timezone string `json:"timezone"` Zip string `json:"zip"` }
SIPAPICom struct
type SOpenAstros ¶
type SOpenAstros struct { SOpenGeneric Number int `json:"number"` People []struct { Name string `json:"name"` Craft string `json:"craft"` } `json:"people"` }
SOpenAstros source : http://api.open-notify.org/astros.json
type SOpenGeneric ¶
type SOpenGeneric struct {
Message string `json:"message"`
}
SOpenGeneric struct
type SOpenIssnow ¶
type SOpenIssnow struct { SOpenGeneric Timestamp int `json:"timestamp"` IssPosition struct { Latitude string `json:"latitude"` Longitude string `json:"longitude"` } `json:"iss_position"` }
SOpenIssnow source : http://api.open-notify.org/iss-now.json
Click to show internal directories.
Click to hide internal directories.