Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // Required so unimplemented methods return error instead of causing compilation failure // Source: https://stackoverflow.com/questions/69700899/grpc-error-about-missing-an-unimplemented-server-method // Source: https://stackoverflow.com/questions/65079032/grpc-with-mustembedunimplemented-method pb.UnimplementedHelloServiceServer DB models.HelloRepo }
gRPC server struct, all methods need to be implemented on it
func (Server) SayCustomHello ¶
func (s Server) SayCustomHello(_ context.Context, hreq *pb.HelloRequest) (*pb.HelloResponse, error)
func (Server) ShowAllHellos ¶
Click to show internal directories.
Click to hide internal directories.