beta contoller implanted
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
|
||||
type OperatorConfig struct {
|
||||
Auths []config.Auth
|
||||
Proxy *rproxy.Proxy
|
||||
}
|
||||
|
||||
type Operator struct {
|
||||
@@ -20,8 +21,8 @@ func NewOperator(conf *OperatorConfig) (*Operator, error) {
|
||||
var err error
|
||||
oper := &Operator{
|
||||
auths: conf.Auths,
|
||||
proxy: conf.Proxy,
|
||||
}
|
||||
oper.log = logger.NewLogger("operator")
|
||||
oper.proxy = rproxy.NewProxy()
|
||||
return oper, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user