Newer
Older
// nolint:revive
package design
import . "goa.design/goa/v3/dsl"
var CacheGetRequest = Type("CacheGetRequest", func() {
Field(1, "key", String)
Field(2, "namespace", String)
Field(3, "scope", String) // Initial implementation with a single scope
var CacheSetRequest = Type("CacheSetRequest", func() {
Field(1, "data", Any)
Field(2, "key", String)
Field(3, "namespace", String)
Field(4, "scope", String) // Initial implementation with a single scope
Field(5, "ttl", Int)