baidu

package
v1.0.62 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(config *ConfigClient) (*Client, error)

func (*Client) Express

func (c *Client) Express() *ExpressResult

Express ipv1 https://www.cloudflare.com/ips-v4

type ConfigClient

type ConfigClient struct {
	PgsqlDb *gorm.DB // 日志数据库
}

type ExpressResponse

type ExpressResponse struct{}

type ExpressResult

type ExpressResult struct {
	Result ExpressResponse    // 结果
	Body   []byte             // 内容
	Http   gorequest.Response // 请求
	Err    error              // 错误
}

Jump to

Keyboard shortcuts

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