Skip to content

Commit 217bc74

Browse files
committed
Fix documentation
1 parent e1c601d commit 217bc74

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

go/ql/lib/semmle/go/frameworks/RsCors.qll

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,47 @@
55
import go
66

77
/**
8-
* Provides abstract class for modeling the Go CORS handler model origin write.
8+
* An abstract class for modeling the Go CORS handler model origin write.
99
*/
1010
abstract class UniversalOriginWrite extends DataFlow::ExprNode {
11+
/**
12+
* Get config variable holding header values
13+
*/
1114
abstract DataFlow::Node getBase();
1215

16+
/**
17+
* Get config variable holding header values
18+
*/
1319
abstract Variable getConfig();
1420
}
1521

1622
/**
17-
* Provides abstract class for modeling the Go CORS handler model allow all origins write.
23+
* An abstract class for modeling the Go CORS handler model allow all origins write.
1824
*/
1925
abstract class UniversalAllowAllOriginsWrite extends DataFlow::ExprNode {
26+
/**
27+
* Get config variable holding header values
28+
*/
2029
abstract DataFlow::Node getBase();
2130

31+
/**
32+
* Get config variable holding header values
33+
*/
2234
abstract Variable getConfig();
2335
}
2436

2537
/**
26-
* Provides abstract class for modeling the Go CORS handler model allow credentials write.
38+
* An abstract class for modeling the Go CORS handler model allow credentials write.
2739
*/
2840
abstract class UniversalAllowCredentialsWrite extends DataFlow::ExprNode {
41+
/**
42+
* Get config struct holding header values
43+
*/
2944
abstract DataFlow::Node getBase();
3045

46+
/**
47+
* Get config variable holding header values
48+
*/
3149
abstract Variable getConfig();
3250
}
3351

0 commit comments

Comments
 (0)