wanip

package module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2022 License: Apache-2.0 Imports: 4 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

项目

项目介绍

捐助

支持宝 微信

感谢Jetbrains

本项目通过Jetbrains开源许可IDE编写源代码,特此感谢 Jetbrains图标

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(client *resty.Client) *optionClient

Client 客户端

func Logger added in v0.0.2

func Logger(logger simaqian.Logger) *optionLogger

Logger 客户端

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

Agent 执行机器人

func New added in v0.0.3

func New(opts ...option) (agent *Agent, err error)

New 创建执行机器人

func (*Agent) Get

func (a *Agent) Get(opts ...getOption) (ip string, err error)

type Options

type Options []option

func NewOptions

func NewOptions(opts ...option) Options

NewOptions 创建选项

func (*Options) Add

func (o *Options) Add(opts ...option)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址