common

package
v0.0.0-...-f5e84f7 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitUrlConfig

func InitUrlConfig() (err error)

Types

type UrlConfigExt

type UrlConfigExt struct {
	XMLName xml.Name `xml:"url_config"`
	UrlList []UrlExt `xml:"url_ext"`
}
var UrlConfig *UrlConfigExt

func GetUrlConfig

func GetUrlConfig() UrlConfigExt

GetUrlConfig 获取url配置

type UrlExt

type UrlExt struct {
	XMLName xml.Name `xml:"url_ext"`
	Name    string   `xml:"name"`
	Url     string   `xml:"url"`
	UrlS    *url.URL
}

Jump to

Keyboard shortcuts

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