Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MarshalXML (0.06 sec)

  1. cmd/api-datatypes.go

    }
    
    // DeleteMarkerMTime is an embedded type containing time.Time for XML marshal
    type DeleteMarkerMTime struct {
    	time.Time
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if t.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(t.Format(time.RFC3339), startElement)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. cmd/api-response.go

    type ObjectVersion struct {
    	Object
    	IsLatest  bool
    	VersionID string `xml:"VersionId"`
    
    	isDeleteMarker bool
    }
    
    // MarshalXML - marshal ObjectVersion
    func (o ObjectVersion) MarshalXML(e *xxml.Encoder, start xxml.StartElement) error {
    	if o.isDeleteMarker {
    		start.Name.Local = "DeleteMarker"
    	} else {
    		start.Name.Local = "Version"
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  3. api/go1.2.txt

    pkg encoding/xml, method (*Encoder) Flush() error
    pkg encoding/xml, method (StartElement) End() EndElement
    pkg encoding/xml, type Marshaler interface { MarshalXML }
    pkg encoding/xml, type Marshaler interface, MarshalXML(*Encoder, StartElement) error
    pkg encoding/xml, type MarshalerAttr interface { MarshalXMLAttr }
    pkg encoding/xml, type MarshalerAttr interface, MarshalXMLAttr(Name) (Attr, error)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (1)
Back to top