{"repo":"nhatthm/grpcmock","free":true,"listed":false,"github":"https://github.com/nhatthm/grpcmock","clone":"git clone https://github.com/nhatthm/grpcmock.git","description":"gRPC Test Utilities for Golang","language":"Go","stars":113,"topics":["go","golang","grpc","test","mock"],"license":"MIT","category":"networking-infra","readme_excerpt":"⚠️ From v0.20.0 , the project will be rebranded to go.nhat.io/grpcmock . v0.19.0 is the last version with github.com/nhatthm/grpcmock . gRPC Test Utilities for Golang Test gRPC service and client like a pro. Table of Contents - Prerequisites - Install - Usage - Mock a gRPC server - Unary Method - Client-Stream Method - Server-Stream Method - Bidirectional-Stream Method - Invoke a gRPC method - Unary Method - Client-Stream Method - Server-Stream Method - Bidirectional-Stream Method Prerequisites - Go = 1.23 [ [table of contents] ](#table-of-contents) Install [ [table of contents] ](#table-of-contents) Usage Mock a gRPC server Read more about mocking a gRPC server [ [table of contents] ](#table-of-contents) Unary Method Read more about mocking a Unary Method [ [table of contents] ](#table-of-contents) Client-Stream Method Read more about mocking a Client-Stream Method [ [table of contents] ](#table-of-contents) Server-Stream Method Read more about mocking a Server-Stream Method [ [table of contents] ](#table-of-contents) Bidirectional-Stream Method Read more about mocking a Bidirectional-Stream Method [ [table of contents] ](#table-of-contents) Invoke a gRPC method Unary Method [ [table of contents] ](#table-of-contents) Client-Stream Method Or with a custom handler [ [table of contents] ](#table-of-contents) Server-Stream Method Or with a custom handler [ [table of contents] ](#table-of-contents) Bidirectional-Stream Method Or with a custom handler [ [table of contents] ](#tab","default_branch":null,"files":null,"tree":[],"storefront":"/r/nhatthm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nhatthm/grpcmock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}