19 lines
370 B
Go
19 lines
370 B
Go
|
package manager
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"github.com/loveuer/nf-disk/internal/model"
|
||
|
"github.com/loveuer/nf-disk/internal/s3"
|
||
|
"github.com/loveuer/nf/nft/log"
|
||
|
)
|
||
|
|
||
|
func Init(ctx context.Context) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func Register(m *model.Connection, c *s3.Client) error {
|
||
|
log.Debug("manager: register connection-client: id = %d, name = %s", m.Id, m.Name)
|
||
|
|
||
|
return nil
|
||
|
}
|