beta contoller implanted

This commit is contained in:
2026-04-09 17:50:12 +02:00
parent 29c4e5d674
commit 7bb0698f77
9 changed files with 133 additions and 45 deletions

View File

@@ -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
}