summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/celmatcher.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-04-11 09:01:40 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-04-11 09:01:40 -0600
commit68cebb28d063a7a71705ce022f118b5e1205fa3f (patch)
tree6160f51ecb9b17720cf373a389765fa923995583 /modules/caddyhttp/celmatcher.go
parenta3bdc22234b75e9420f8810918072fa34732ffb7 (diff)
Fix some godocs
Diffstat (limited to 'modules/caddyhttp/celmatcher.go')
-rw-r--r--modules/caddyhttp/celmatcher.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/caddyhttp/celmatcher.go b/modules/caddyhttp/celmatcher.go
index 8d183c1..19c7bca 100644
--- a/modules/caddyhttp/celmatcher.go
+++ b/modules/caddyhttp/celmatcher.go
@@ -44,6 +44,10 @@ func init() {
// This enables complex logic to be expressed using a comfortable,
// familiar syntax.
//
+// This matcher's JSON interface is actually a string, not a struct.
+// The generated docs are not correct because this type has custom
+// marshaling logic.
+//
// COMPATIBILITY NOTE: This module is still experimental and is not
// subject to Caddy's compatibility guarantee.
type MatchExpression struct {