Class: Yrpc::Executor

Inherits:
Object
  • Object
show all
Defined in:
lib/yrpc/executor/executor.rb

Instance Method Summary collapse

Instance Method Details

#auto_load_allObject



12
13
14
# File 'lib/yrpc/executor/executor.rb', line 12

def auto_load_all

end

#runObject



6
7
8
9
10
# File 'lib/yrpc/executor/executor.rb', line 6

def run
  server = Yrpc::Server.new(Yrpc.server_options)
  Yrpc.services.each { |service| server.add_service(service) }
  server.grpc_server.run
end