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)
Click to show internal directories.
Click to hide internal directories.