github.com/TeaOSLab/EdgeNode@v1.3.8/internal/nodes/toa_manager.go (about) 1 // Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn . 2 //go:build !plus 3 4 package nodes 5 6 import "github.com/TeaOSLab/EdgeCommon/pkg/nodeconfigs" 7 8 var sharedTOAManager = NewTOAManager() 9 10 type TOAManager struct { 11 } 12 13 func NewTOAManager() *TOAManager { 14 return &TOAManager{} 15 } 16 17 func (this *TOAManager) Apply(config *nodeconfigs.TOAConfig) error { 18 return nil 19 } 20 21 func (this *TOAManager) Config() *nodeconfigs.TOAConfig { 22 return nil 23 } 24 25 func (this *TOAManager) Quit() error { 26 return nil 27 } 28 29 func (this *TOAManager) SendMsg(msg string) error { 30 return nil 31 }