Skip to content

Instantly share code, notes, and snippets.

@autodidaddict
Created July 27, 2018 18:31
Show Gist options
  • Save autodidaddict/2f0872f580724034afda2f09f8bd9502 to your computer and use it in GitHub Desktop.
Save autodidaddict/2f0872f580724034afda2f09f8bd9502 to your computer and use it in GitHub Desktop.
gRPC Ballerina Blog Posts - 1
import ballerina/grpc;
import ballerina/log;
endpoint grpc:Listener listener {
host: "localhost",
port: 9090,
};
map <DroneInfo> dronesMap;
type DroneInfo record {
string id;
string name;
int battery_remaining;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment