Documentation
¶
Index ¶
Constants ¶
View Source
const ( JsonExt = ".json" GobExt = ".gob" HtmlExt = ".html" XmlExt = ".xml" )
View Source
const UnknownModTime = -1
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeyValues ¶
type KeyValues interface { Len() int Keys() iter.Seq[string] Has(key string) bool Get(key string) (io.ReadCloser, error) Set(key string, data io.Reader) error Cut(key string) error Since(ts int64, mts ...MutationType) iter.Seq2[string, MutationType] LogModTime(key string) int64 FileModTime(key string) (int64, error) }
type MutationType ¶ added in v0.6.5
type MutationType int
const ( Create MutationType = iota Update Cut )
func (MutationType) String ¶ added in v0.6.5
func (mt MutationType) String() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.