mirror of
https://github.com/linka-cloud/grpc.git
synced 2024-11-21 18:36:25 +00:00
removed grpc server access
This commit is contained in:
parent
0fd0a6ecc3
commit
6594278ead
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user