From 6594278ead53e9696804168ae8f0ea6d56acb324 Mon Sep 17 00:00:00 2001 From: Adphi Date: Thu, 30 Sep 2021 17:11:58 +0200 Subject: [PATCH] removed grpc server access --- service/service.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/service/service.go b/service/service.go index cf58a65..c55a79d 100644 --- a/service/service.go +++ b/service/service.go @@ -32,7 +32,6 @@ import ( type Service interface { Options() Options - Server() *grpc.Server DB() *gorm.DB Start() error Stop() error @@ -135,10 +134,6 @@ func (s *service) DB() *gorm.DB { return s.opts.db } -func (s *service) Server() *grpc.Server { - return s.server -} - func (s *service) Cmd() *cobra.Command { return s.cmd }