I'm studying gRPC and Golang and am new to both. In this tutorial there's this function:
func (s *routeGuideServer) GetFeature(ctx context.Context, point *pb.Point) (*pb.Feature, error) {
...
}
I don't understand what "(s *routeGuideServer)" part in this function stub doing.
I've learnt go functions and "(ctx context.Context, point *pb.Point)" is the input and "(*pb.Feature, error)" is the output as far as I understand.
What exactly is this "(s *routeGuideServer)" part? Any pointers towards an explanation would be appreciated.