Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
Resolver allows resolving current IP
func NewResolver ¶
NewResolver creates new ipify based resolver with default timeout of one minute
func NewResolverFake ¶
NewResolverFake returns fakeResolver which resolves statically entered IP
func NewResolverFakeFailing ¶
NewResolverFakeFailing returns fakeResolver with entered error
Click to show internal directories.
Click to hide internal directories.