ing
This commit is contained in:
parent
07821c7cae
commit
529bab00a6
|
@ -63,7 +63,7 @@ func (m *serviceMap) register(rcvr interface{}, name string) error {
|
|||
return fmt.Errorf("rpc: no service name for type %q",
|
||||
s.rcvrType.String())
|
||||
}
|
||||
log.Printf("The name of service is %s", s.name)
|
||||
log.Printf("method count of service[%s] is %d", s.name, s.rcvrType.NumMethod())
|
||||
// Setup methods.
|
||||
for i := 0; i < s.rcvrType.NumMethod(); i++ {
|
||||
method := s.rcvrType.Method(i)
|
||||
|
|
Loading…
Reference in New Issue
Block a user