Versions in this module Expand all Collapse all v0 v0.0.1 Jun 11, 2020 Changes in this version + var Provider = wire.NewSet(New, wire.Bind(new(pb.DemoServer), new(*Service))) + type Service struct + func New(d dao.Dao) (s *Service, cf func(), err error) + func (s *Service) Close() + func (s *Service) Ping(ctx context.Context, e *empty.Empty) (*empty.Empty, error) + func (s *Service) SayHello(ctx context.Context, req *pb.HelloReq) (reply *empty.Empty, err error) + func (s *Service) SayHelloURL(ctx context.Context, req *pb.HelloReq) (reply *pb.HelloResp, err error)