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
530 B

// Code generated DO NOT EDIT
// responsetype.go
package dom
import "syscall/js"
type ResponseType string
const (
ResponseTypeBasic ResponseType = "basic"
ResponseTypeCors ResponseType = "cors"
ResponseTypeDefault ResponseType = "default"
ResponseTypeError ResponseType = "error"
ResponseTypeOpaque ResponseType = "opaque"
ResponseTypeOpaqueredirect ResponseType = "opaqueredirect"
)
func JSValueToResponseType(val js.Value) ResponseType {
return ResponseType(val.String())
}