Skip to content

an example of calling grpc-servers without knowing protobuf schema

Notifications You must be signed in to change notification settings

alexbadm/blind-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blind-grpc

An example of calling grpc-servers without knowing protobuf schema.

This repo demonstrates how anyone can invoke grpc-server with preliminary encoded messages as input.

Usage

// import "github.com/alexbadm/blind-grpc"

cc, _ := blind.Dial("some-server:port", grpc.WithInsecure())
result, header, err := cc.Invoke(nil, "/helloworld.Greeter/SayHello", []byte{10, 4, 89, 117, 114, 105})
// do smth with result, header, err

About

an example of calling grpc-servers without knowing protobuf schema

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages