Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocationProviderImpl ¶
type LocationProviderImpl struct {
// contains filtered or unexported fields
}
LocationProviderImpl 通过gRPC服务获取
func New ¶
func New(ctx *plugin.InitContext) (*LocationProviderImpl, error)
func (*LocationProviderImpl) GetLocation ¶
func (p *LocationProviderImpl) GetLocation() (*model.Location, error)
GetLocation 获取地理位置信息
func (*LocationProviderImpl) Init ¶
func (p *LocationProviderImpl) Init(ctx *plugin.InitContext) error
Init 初始化插件
Click to show internal directories.
Click to hide internal directories.