lbs

package
v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAmapClient added in v1.4.0

func GetAmapClient() *http.Client

Types

type AdapterLocationBasedService

type AdapterLocationBasedService interface {
	String() string
	Close()
	GetAddress(latitude, longitude, radius float64) (string, error)
	GetClient() interface{}
}

type Amap added in v1.3.26

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

func NewAmap added in v1.3.26

func NewAmap(client *http.Client, addr, secretKey string) *Amap

func (*Amap) Close added in v1.3.26

func (m *Amap) Close()

Close 关闭连接

func (*Amap) GetAddress added in v1.3.26

func (m *Amap) GetAddress(latitude, longitude, radius float64) (string, error)

func (*Amap) GetClient added in v1.3.26

func (m *Amap) GetClient() interface{}

GetClient 暴露原生client

func (*Amap) String added in v1.3.26

func (*Amap) String() string

Jump to

Keyboard shortcuts

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