Unexport factory functions

This commit is contained in:
2025-10-21 22:37:10 +02:00
parent 2b51b4a47f
commit bac18b5626
6 changed files with 15 additions and 15 deletions

View File

@@ -23,8 +23,8 @@ type remoteManager struct {
instanceToNode map[string]*config.NodeConfig // instance name -> node config
}
// NewRemoteManager creates a new remote manager.
func NewRemoteManager(nodes map[string]config.NodeConfig, timeout time.Duration) *remoteManager {
// newRemoteManager creates a new remote manager.
func newRemoteManager(nodes map[string]config.NodeConfig, timeout time.Duration) *remoteManager {
if timeout <= 0 {
timeout = 30 * time.Second
}