xml

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blob

type Blob struct {
	Name       string     `xml:"Name"`
	Url        string     `xml:"Url"`
	Properties Properties `xml:"Properties"`
}

type Blobs

type Blobs struct {
	Blob []Blob `xml:"Blob"`
}

type EnumerationResults

type EnumerationResults struct {
	ServiceEndpoint string `xml:"ServiceEndpoint,attr"`
	ContainerName   string `xml:"ContainerName,attr"`
	Blobs           Blobs  `xml:"Blobs"`
	NextMarker      string `xml:"NextMarker"`
}

func (*EnumerationResults) BlobURLs

func (e *EnumerationResults) BlobURLs() []string

func (*EnumerationResults) LoadXML

func (e *EnumerationResults) LoadXML(xmlData []byte) error

func (*EnumerationResults) TotalContentLength

func (e *EnumerationResults) TotalContentLength() int64

type Properties

type Properties struct {
	LastModified    string `xml:"Last-Modified"`
	Etag            string `xml:"Etag"`
	ContentLength   int64  `xml:"Content-Length"`
	ContentType     string `xml:"Content-Type"`
	ContentEncoding string `xml:"Content-Encoding"`
	ContentLanguage string `xml:"Content-Language"`
	ContentMD5      string `xml:"Content-MD5"`
	CacheControl    string `xml:"Cache-Control"`
	BlobType        string `xml:"BlobType"`
	LeaseStatus     string `xml:"LeaseStatus"`
}

Jump to

Keyboard shortcuts

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