remoteSiteSetting

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "RemoteSiteSetting"

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteSiteSetting

type RemoteSiteSetting struct {
	metadata.MetadataInfo
	XMLName     xml.Name `xml:"RemoteSiteSetting"`
	Xmlns       string   `xml:"xmlns,attr"`
	Description *struct {
		Text string `xml:",chardata"`
	} `xml:"description"`
	DisableProtocolSecurity struct {
		Text string `xml:",chardata"`
	} `xml:"disableProtocolSecurity"`
	IsActive struct {
		Text string `xml:",chardata"`
	} `xml:"isActive"`
	URL struct {
		Text string `xml:",chardata"`
	} `xml:"url"`
}

func Open

func Open(path string) (*RemoteSiteSetting, error)

func (*RemoteSiteSetting) SetMetadata

func (c *RemoteSiteSetting) SetMetadata(m metadata.MetadataInfo)

func (*RemoteSiteSetting) Type

Jump to

Keyboard shortcuts

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