Skip to content

Commit d28888e

Browse files
committed
docs: add description for 'port' validator
1 parent 5b9542b commit d28888e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,12 @@ can be used to validate fields typically passed to sockets and connections.
13301330
13311331
Usage: hostname_port
13321332
1333+
# Port
1334+
1335+
This validates that the value falls within the valid port number range of 1 to 65,535.
1336+
1337+
Usage: port
1338+
13331339
# Datetime
13341340
13351341
This validates that a string value is a valid datetime based on the supplied datetime format.

0 commit comments

Comments
 (0)