Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akshayjshah/grpc-demystified
/ functions
Functions
11 in github.com/akshayjshah/grpc-demystified
⨍
Functions
11
◇
Types & classes
3
↓ 3 callers
Method
Marshal
(v any)
grpc.go:105
↓ 2 callers
Method
SetSize
(n int)
grpc.go:26
↓ 2 callers
Method
Size
()
grpc.go:22
↓ 2 callers
Method
Unmarshal
(data []byte, v any)
grpc.go:109
↓ 1 callers
Function
callGRPC
callGRPC calls the gRPC handler and unmarshals the response.
grpc.go:62
↓ 1 callers
Function
callREST
callREST calls the RESTful handler and unmarshals the response.
rest.go:33
↓ 1 callers
Function
verifyGRPC
verifyGRPC calls the gRPC handler using grpc-go, verifying that we've implemented the basics of the protocol correctly.
grpc.go:119
Method
Name
()
grpc.go:113
Function
grpcHandler
grpcHandler implements a gRPC API to create a Pet. It's designed to fit on a slide, so it ignores many errors.
grpc.go:32
Function
main
()
main.go:17
Function
restHandler
restHandler takes a RESTful HTTP approach to creating a Pet. It's designed to fit on a slide, so it ignores many errors.
rest.go:13