Skip to content

Commit

Permalink
Merge pull request #759 from menghanl/streams_in_serviceinfo_comments
Browse files Browse the repository at this point in the history
Fix comments
  • Loading branch information
iamqizhao authored Jul 14, 2016
2 parents 108308b + 42a2879 commit 7428593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion reflection/serverreflection.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (s *serverReflectionServer) serviceMetadataForSymbol(name string) (interfac
return nil, fmt.Errorf("unknown symbol: %v", name)
}

// Search for method name in info.Methods.
// Search the method name in info.Methods.
var found bool
for _, m := range info.Methods {
if m.Name == name[pos+1:] {
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func (s *Server) register(sd *ServiceDesc, ss interface{}) {
s.m[sd.ServiceName] = srv
}

// MethodInfo contains information about an RPC.
// MethodInfo contains the information of an RPC including its method name and type.
type MethodInfo struct {
// Name is the method name only, without the service name or package name.
Name string
Expand Down

0 comments on commit 7428593

Please sign in to comment.