mirror of
				https://github.com/linka-cloud/grpc.git
				synced 2025-11-04 03:21:50 +00:00 
			
		
		
		
	removed grpc server access
This commit is contained in:
		@@ -32,7 +32,6 @@ import (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
type Service interface {
 | 
					type Service interface {
 | 
				
			||||||
	Options() Options
 | 
						Options() Options
 | 
				
			||||||
	Server() *grpc.Server
 | 
					 | 
				
			||||||
	DB() *gorm.DB
 | 
						DB() *gorm.DB
 | 
				
			||||||
	Start() error
 | 
						Start() error
 | 
				
			||||||
	Stop() error
 | 
						Stop() error
 | 
				
			||||||
@@ -135,10 +134,6 @@ func (s *service) DB() *gorm.DB {
 | 
				
			|||||||
	return s.opts.db
 | 
						return s.opts.db
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (s *service) Server() *grpc.Server {
 | 
					 | 
				
			||||||
	return s.server
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
func (s *service) Cmd() *cobra.Command {
 | 
					func (s *service) Cmd() *cobra.Command {
 | 
				
			||||||
	return s.cmd
 | 
						return s.cmd
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user