diff options
Diffstat (limited to 'system/item')
-rw-r--r-- | system/item/item.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/item/item.go b/system/item/item.go index 85ec5f9..761b2cf 100644 --- a/system/item/item.go +++ b/system/item/item.go @@ -55,6 +55,11 @@ type Hookable interface { AfterReject(req *http.Request) error } +// Hideable lets a user keep items hidden +type Hideable interface { + Hide(*http.Request) error +} + // Pushable lets a user define which values of certain struct fields are // 'pushed' down to a client via HTTP/2 Server Push. All items in the slice // should be the json tag names of the struct fields to which they coorespond |