Skip to content

Instantly share code, notes, and snippets.

@nescotos
nescotos / calculator.proto
Created July 3, 2020 03:45
gRPC & Proto
syntax = "proto3";
package calculator;
option go_package="calculatorpb";
message Calculator {
int32 first_number = 1;
int32 second_number = 2;
}

Keybase proof

I hereby claim:

  • I am nestor94 on github.
  • I am nestoracklen (https://keybase.io/nestoracklen) on keybase.
  • I have a public key ASCkME92y58OvlDpwdfDj0WqvbNxgG4l7C0-MkCLFsnQqAo

To claim this, I am signing this object:

@nescotos
nescotos / gist:e4ba3b13711561c050f75c246a6806e9
Created August 27, 2018 04:09 — forked from devinodaniel/gist:8f9b8a4f31573f428f29ec0e884e6673
Generate SSH RSA Private/Public Key pair with Golang
// This shows an example of how to generate a SSH RSA Private/Public key pair and save it locally
package main
import (
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"encoding/pem"
"golang.org/x/crypto/ssh"