Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocationProvider ¶
type LocationProvider struct { *plugin.PluginBase // contains filtered or unexported fields }
LocationProvider 从环境变量获取地域信息
func (*LocationProvider) GetLocation ¶
func (p *LocationProvider) GetLocation() (*model.Location, error)
GetLocation 获取地理位置信息
func (*LocationProvider) Init ¶
func (p *LocationProvider) Init(ctx *plugin.InitContext) error
Init 初始化插件
Click to show internal directories.
Click to hide internal directories.