Documentation
¶
Index ¶
Constants ¶
View Source
const PatchExpirationMargin = 10 * time.Second
PatchExpirationMargin is added to the HTTP expiration beyond ttl.
Variables ¶
View Source
var ErrPatchSamePublishTime = fmt.Errorf("same publishTime in both MPDs")
View Source
var ErrPatchTooLate = fmt.Errorf("patch TTL exceeded")
Functions ¶
Types ¶
type Op ¶
type Op struct {
OpType OpType // Insert or delete, as above
OldPos int // Position in the old list of item to be inserted or deleted
NewPos int // Position in the _new_ list of item to be inserted
Elem *etree.Element // Actual value to be inserted or deleted
}
Click to show internal directories.
Click to hide internal directories.