Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceObj ¶
type ServiceObj struct {
// contains filtered or unexported fields
}
ServiceObj implements the Service interface per default
func New ¶
func New(httpClient httpclient.Client) *ServiceObj
New returns a new pointer instance of ServiceObj
func (*ServiceObj) FetchPublicIPV4 ¶
func (serv *ServiceObj) FetchPublicIPV4() (string, error)
FetchPublicIPV4 fetches the public IPv4 address of the machine
Click to show internal directories.
Click to hide internal directories.