Documentation ¶
Index ¶
- Variables
- type Sitemap
- func (*Sitemap) Descriptor() ([]byte, []int)deprecated
- func (x *Sitemap) GetUrl() []*Url
- func (l *Sitemap) Len() int
- func (l *Sitemap) Less(i, j int) bool
- func (*Sitemap) ProtoMessage()
- func (x *Sitemap) ProtoReflect() protoreflect.Message
- func (x *Sitemap) Reset()
- func (x *Sitemap) String() string
- func (l *Sitemap) Swap(i, j int)
- type Url
- func (*Url) Descriptor() ([]byte, []int)deprecated
- func (x *Url) GetChangeFreq() string
- func (x *Url) GetLastMod() string
- func (x *Url) GetLoc() string
- func (x *Url) GetPriority() float32
- func (*Url) ProtoMessage()
- func (x *Url) ProtoReflect() protoreflect.Message
- func (x *Url) Reset()
- func (x *Url) String() string
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) ProtoMessage ¶
func (*Sitemap) ProtoMessage()
func (*Sitemap) ProtoReflect ¶
func (x *Sitemap) ProtoReflect() protoreflect.Message
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) GetChangeFreq ¶
func (*Url) GetLastMod ¶
func (*Url) GetPriority ¶
func (*Url) ProtoMessage ¶
func (*Url) ProtoMessage()
func (*Url) ProtoReflect ¶
func (x *Url) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.