Web API package for use when compling Go to WASM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

20 lines
531 B

// Code generated DO NOT EDIT
// requestcache.go
package dom
import "syscall/js"
type RequestCache string
const (
RequestCacheDefault RequestCache = "default"
RequestCacheNoStore RequestCache = "no-store"
RequestCacheReload RequestCache = "reload"
RequestCacheNoCache RequestCache = "no-cache"
RequestCacheForceCache RequestCache = "force-cache"
RequestCacheOnlyIfCached RequestCache = "only-if-cached"
)
func JSValueToRequestCache(val js.Value) RequestCache {
return RequestCache(val.String())
}