~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
17 lines · 342 B Raw History
package models

type CacheFileEncoding string

const (
	CacheEncodingText   CacheFileEncoding = "text"
	CacheEncodingBase64 CacheFileEncoding = "base64"
)

type CacheFile struct {
	Data     string            `json:"data"`
	Encoding CacheFileEncoding `json:"encoding"`
}

type CacheEntry map[string]CacheFile

type Cache map[string]CacheEntry