manager

package
v0.0.0-...-eb0c352 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOCAL  = 1
	SMB    = 2
	YANDEX = 3
)

Variables

This section is empty.

Functions

func InitManagersFromConfigs

func InitManagersFromConfigs(confs []unit.ClientConfig) (map[string]ManagerAtomic, error)

Types

type ManagerAtomic

type ManagerAtomic interface {
	Read(string) ([]byte, error)
	Write(*bytes.Buffer, string) (string, error)
	Ls(string) ([]unit.File, error)
	Remove(string) error
	Close() error
	Description() map[string]any
}

func NewManager

func NewManager(conf unit.ClientConfig) (ManagerAtomic, error)

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL