local

package
v1.6.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 3 Imported by: 0

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 从环境变量获取地域信息

func (*LocationProviderImpl) GetLocation

func (p *LocationProviderImpl) GetLocation() (*model.Location, error)

GetLocation 获取地理位置信息

func (*LocationProviderImpl) Init

Init 初始化插件

func (*LocationProviderImpl) Name

func (p *LocationProviderImpl) Name() string

Name 插件名称

Jump to

Keyboard shortcuts

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