Versions in this module Expand all Collapse all v0 v0.0.1 Mar 13, 2022 Changes in this version + func Run() + type GRPCService struct + Port string + Server *grpc.Server + func (g *GRPCService) Stop() + type LoggerInterface interface + Close func() + Debug func() *zerolog.Event + Fatal func() *zerolog.Event + Info func() *zerolog.Event + Open func() error + type Service struct + GRPC GRPCService + Logger LoggerInterface + func (s *Service) Connect() error + func (s *Service) Create(ctx context.Context, r *widgetsAPI.CreateRequest) (*widgetsAPI.Widget, error) + func (s *Service) Delete(ctx context.Context, r *widgetsAPI.DeleteRequest) (*empty.Empty, error) + func (s *Service) FindByID(ctx context.Context, r *widgetsAPI.FindRequest) (*widgetsAPI.Widget, error) + func (s *Service) List(ctx context.Context, r *widgetsAPI.ListRequest) (*widgetsAPI.ListResponse, error) + func (s *Service) Run() error + func (s *Service) StartGRPCService() error + func (s *Service) Update(ctx context.Context, r *widgetsAPI.UpdateRequest) (*widgetsAPI.Widget, error)