Skip to content

Instantly share code, notes, and snippets.

@percybolmer
Last active August 6, 2021 11:34
Show Gist options
  • Save percybolmer/46097c99924a7ced1262cb60801cb532 to your computer and use it in GitHub Desktop.
Save percybolmer/46097c99924a7ced1262cb60801cb532 to your computer and use it in GitHub Desktop.
// PingPongServer is the server API for PingPong service.
// All implementations must embed UnimplementedPingPongServer
// for forward compatibility
type PingPongServer interface {
Ping(context.Context, *PingRequest) (*PongResponse, error)
mustEmbedUnimplementedPingPongServer()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment