working commit
This commit is contained in:
@@ -20,7 +20,7 @@ import (
|
||||
|
||||
type ServiceConfig struct {
|
||||
Handler *handler.Handler
|
||||
Logic *operator.Logic
|
||||
Operator *operator.Operator
|
||||
NetACL *netacl.NetACL
|
||||
Portnum uint32
|
||||
Address string
|
||||
@@ -33,7 +33,7 @@ type ServiceConfig struct {
|
||||
type Service struct {
|
||||
gsrv *grpc.Server
|
||||
hand *handler.Handler
|
||||
lg *operator.Logic
|
||||
oper *operator.Operator
|
||||
log *logger.Logger
|
||||
nacl *netacl.NetACL
|
||||
portnum uint32
|
||||
@@ -49,7 +49,7 @@ type Service struct {
|
||||
func NewService(conf *ServiceConfig) *Service {
|
||||
svc := Service{
|
||||
hand: conf.Handler,
|
||||
lg: conf.Logic,
|
||||
oper: conf.Operator,
|
||||
nacl: conf.NetACL,
|
||||
portnum: conf.Portnum,
|
||||
address: conf.Address,
|
||||
|
||||
Reference in New Issue
Block a user