rpc: fix typo

This commit is contained in:
permor 2024-04-16 00:26:36 +09:00
parent c0b1f10f1e
commit b81397415f

View file

@ -110,7 +110,7 @@ func (r *serviceRegistry) subscription(service, name string) *callback {
} }
// suitableCallbacks iterates over the methods of the given type. It determines if a method // suitableCallbacks iterates over the methods of the given type. It determines if a method
// satisfies the criteria for a RPC callback or a subscription callback and adds it to the // satisfies the criteria for an RPC callback or a subscription callback and adds it to the
// collection of callbacks. See server documentation for a summary of these criteria. // collection of callbacks. See server documentation for a summary of these criteria.
func suitableCallbacks(receiver reflect.Value) map[string]*callback { func suitableCallbacks(receiver reflect.Value) map[string]*callback {
typ := receiver.Type() typ := receiver.Type()