xiaojphone

package
v0.0.0-...-baf6233 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 7 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 {
}

func NewClient

func NewClient() *Client

func (*Client) GetInfo

func (c *Client) GetInfo(phone string) string

type Data

type Data struct {
	// 归属地
	Regional string `json:"regional"`
	// 运营商
	Operator string `json:"operator"`
	// 详细介绍
	Detail string  `json:"detail"`
	Info   []*Info `json:"info"`
}

type Info

type Info struct {
	Name    string `json:"name"`
	Content int64  `json:"content"`
}

type ResponseBody

type ResponseBody struct {
	Flag string `json:"flag"`
	Data *Data  `json:"data"`
}

Jump to

Keyboard shortcuts

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