mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
细节优化
This commit is contained in:
@@ -51,6 +51,7 @@ func NewManage(cfg *ManageConfig, op ...client.Option) (*Manage, error) {
|
|||||||
|
|
||||||
return &Manage{
|
return &Manage{
|
||||||
Pool: p,
|
Pool: p,
|
||||||
|
Config: cfg,
|
||||||
Codes: codes,
|
Codes: codes,
|
||||||
Workday: workday,
|
Workday: workday,
|
||||||
Cron: cron.New(cron.WithSeconds()),
|
Cron: cron.New(cron.WithSeconds()),
|
||||||
@@ -59,6 +60,7 @@ func NewManage(cfg *ManageConfig, op ...client.Option) (*Manage, error) {
|
|||||||
|
|
||||||
type Manage struct {
|
type Manage struct {
|
||||||
*Pool
|
*Pool
|
||||||
|
Config *ManageConfig
|
||||||
Codes *Codes
|
Codes *Codes
|
||||||
Workday *Workday
|
Workday *Workday
|
||||||
Cron *cron.Cron
|
Cron *cron.Cron
|
||||||
|
|||||||
Reference in New Issue
Block a user