Lines Matching full:rcvr
160 rcvr reflect.Value // receiver of methods for the service
228 func (server *Server) Register(rcvr interface{}) error {
229 return server.register(rcvr, "", false)
234 func (server *Server) RegisterName(name string, rcvr interface{}) error {
235 return server.register(rcvr, name, true)
238 func (server *Server) register(rcvr interface{}, name string, useName bool) error {
245 s.typ = reflect.TypeOf(rcvr)
246 s.rcvr = reflect.ValueOf(rcvr)
247 sname := reflect.Indirect(s.rcvr).Type().Name()
383 returnValues := function.Call([]reflect.Value{s.rcvr, argv, replyv})
627 func Register(rcvr interface{}) error { return DefaultServer.Register(rcvr) }
631 func RegisterName(name string, rcvr interface{}) error {
632 return DefaultServer.RegisterName(name, rcvr)