forked from BSDCafe/checkmyip
Added client example
This commit is contained in:
parent
aa323c4109
commit
2e33d9d899
1 changed files with 5 additions and 1 deletions
|
@ -273,7 +273,11 @@ class CheckMyIP_Client:
|
||||||
else:
|
else:
|
||||||
raise Exception("Allowed families are 'auto', 'ipv4', 'ipv6'")
|
raise Exception("Allowed families are 'auto', 'ipv4', 'ipv6'")
|
||||||
|
|
||||||
|
### CheckMyIP_Client Example Usage ###
|
||||||
|
#client = CheckMyIP_Client()
|
||||||
|
#client.get()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
logging = log_management() # Instantiate log class
|
logging = log_management() # Instantiate log class
|
||||||
start() # Start the server
|
start() # Start the server
|
||||||
|
|
Loading…
Reference in a new issue