Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewRatingsServer, CreateInitServersFn)
Functions ¶
func CreateInitServersFn ¶
func CreateInitServersFn( ps *RatingsServer, ) grpc.InitServers
Types ¶
type RatingsServer ¶
type RatingsServer struct {
// contains filtered or unexported fields
}
func CreateRatingsServer ¶
func CreateRatingsServer(cf string, service services.RatingsService) (*RatingsServer, error)
func NewRatingsServer ¶
func NewRatingsServer(logger *zap.Logger, ps services.RatingsService) (*RatingsServer, error)
func (*RatingsServer) Get ¶
func (s *RatingsServer) Get(ctx context.Context, req *proto.GetRatingRequest) (*proto.Rating, error)
Click to show internal directories.
Click to hide internal directories.