Skip to content

srikrsna-buf/fib-grpc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fib server.

It is a hypothetical example of gRPC server to conduct some longrunning operations. The server implements both FibService and longrunning.OperationsService. FibService receives a request of calculating a fibonacci number, and then returns the name of the operation immediately.

The operation runs in background and its status can be fetched through OperationsService (right now it only implements GetOperation for simplicity).

How to build

% go build -o bin/server ./cmd/server
% go build -o bin/client ./cmd/client

Sample usage

% ./bin/server &
% ./bin/client -n 45

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%