v1

package
v0.0.0-...-36d8597 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_domain_sitemap_v1_sitemap_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Sitemap

type Sitemap struct {
	Url []*Url `protobuf:"bytes,1,rep,name=url,proto3" json:"url,omitempty" xml:"url"`
	// contains filtered or unexported fields
}

Sitemap is a structure of <sitemap>

func (*Sitemap) Descriptor deprecated

func (*Sitemap) Descriptor() ([]byte, []int)

Deprecated: Use Sitemap.ProtoReflect.Descriptor instead.

func (*Sitemap) GetUrl

func (x *Sitemap) GetUrl() []*Url

func (*Sitemap) Len

func (l *Sitemap) Len() int

func (*Sitemap) Less

func (l *Sitemap) Less(i, j int) bool

func (*Sitemap) ProtoMessage

func (*Sitemap) ProtoMessage()

func (*Sitemap) ProtoReflect

func (x *Sitemap) ProtoReflect() protoreflect.Message

func (*Sitemap) Reset

func (x *Sitemap) Reset()

func (*Sitemap) String

func (x *Sitemap) String() string

func (*Sitemap) Swap

func (l *Sitemap) Swap(i, j int)

type Url

type Url struct {
	Loc        string  `protobuf:"bytes,1,opt,name=loc,proto3" json:"loc,omitempty" xml:"loc"`
	LastMod    string  `protobuf:"bytes,2,opt,name=last_mod,json=lastMod,proto3" json:"last_mod,omitempty" xml:"lastmod"`
	ChangeFreq string  `protobuf:"bytes,3,opt,name=change_freq,json=changeFreq,proto3" json:"change_freq,omitempty" xml:"changefreq"`
	Priority   float32 `protobuf:"fixed32,4,opt,name=priority,proto3" json:"priority,omitempty" xml:"priority"`
	// contains filtered or unexported fields
}

URL is a structure of <url> in <sitemap>

func (*Url) Descriptor deprecated

func (*Url) Descriptor() ([]byte, []int)

Deprecated: Use Url.ProtoReflect.Descriptor instead.

func (*Url) GetChangeFreq

func (x *Url) GetChangeFreq() string

func (*Url) GetLastMod

func (x *Url) GetLastMod() string

func (*Url) GetLoc

func (x *Url) GetLoc() string

func (*Url) GetPriority

func (x *Url) GetPriority() float32

func (*Url) ProtoMessage

func (*Url) ProtoMessage()

func (*Url) ProtoReflect

func (x *Url) ProtoReflect() protoreflect.Message

func (*Url) Reset

func (x *Url) Reset()

func (*Url) String

func (x *Url) String() string

Jump to

Keyboard shortcuts

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