File tree Expand file tree Collapse file tree
test/library-tests/semmle/go/frameworks/GoMicro Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import go
99 */
1010module GoMicro {
1111 /**
12- * GoMicro server type.
12+ * A GoMicro server type.
1313 */
1414 class GoMicroServerType extends Type {
1515 GoMicroServerType ( ) { this .hasQualifiedName ( "go-micro.dev/v4/server" , "Server" ) }
@@ -46,7 +46,7 @@ module GoMicro {
4646 }
4747
4848 /**
49- * Server internal
49+ * A Server Interface type.
5050 */
5151 class ServiceInterfaceType extends InterfaceType {
5252 NamedType namedType ;
@@ -71,7 +71,7 @@ module GoMicro {
7171 }
7272
7373 /**
74- * A service server type.
74+ * A Service server handler type.
7575 */
7676 class ServiceServerType extends NamedType {
7777 ServiceServerType ( ) {
@@ -112,7 +112,7 @@ module GoMicro {
112112 }
113113
114114 /**
115- * Remote / Untrusted requests coming to the service handler.
115+ * A set of remote requests from a service handler.
116116 */
117117 class Request extends UntrustedFlowSource:: Range instanceof DataFlow:: ParameterNode {
118118 Request ( ) {
Original file line number Diff line number Diff line change 11import go
2- import semmle.go.frameworks.GoMicro
32
43query predicate requests ( DataFlow:: ParameterNode node ) { node instanceof GoMicro:: Request }
You can’t perform that action at this time.
0 commit comments