File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
test/library-tests/semmle/go/frameworks/GoMicro Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import go
9
9
*/
10
10
module GoMicro {
11
11
/**
12
- * GoMicro server type.
12
+ * A GoMicro server type.
13
13
*/
14
14
class GoMicroServerType extends Type {
15
15
GoMicroServerType ( ) { this .hasQualifiedName ( "go-micro.dev/v4/server" , "Server" ) }
@@ -46,7 +46,7 @@ module GoMicro {
46
46
}
47
47
48
48
/**
49
- * Server internal
49
+ * A Server Interface type.
50
50
*/
51
51
class ServiceInterfaceType extends InterfaceType {
52
52
NamedType namedType ;
@@ -71,7 +71,7 @@ module GoMicro {
71
71
}
72
72
73
73
/**
74
- * A service server type.
74
+ * A Service server handler type.
75
75
*/
76
76
class ServiceServerType extends NamedType {
77
77
ServiceServerType ( ) {
@@ -112,7 +112,7 @@ module GoMicro {
112
112
}
113
113
114
114
/**
115
- * Remote / Untrusted requests coming to the service handler.
115
+ * A set of remote requests from a service handler.
116
116
*/
117
117
class Request extends UntrustedFlowSource:: Range instanceof DataFlow:: ParameterNode {
118
118
Request ( ) {
Original file line number Diff line number Diff line change 1
1
import go
2
- import semmle.go.frameworks.GoMicro
3
2
4
3
query predicate requests ( DataFlow:: ParameterNode node ) { node instanceof GoMicro:: Request }
You can’t perform that action at this time.
0 commit comments