stores

package
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalOption

type LocalOption struct {
	// 书库路径
	Path string
}

type SMBOption

type SMBOption struct {
	// 书库的地址
	Host string
	// 书库的端口
	Port int
	// 书库的用户名
	Username string
	// 书库的密码
	Password string
	// smb的共享名
	ShareName string
	// 二级路径
	Path string
}

type Store

type Store struct {
	// 书库的类型,计划支持local,smb(2或3)ftp、sftp、webdav
	Type StoreType
	// 本地书库配置
	Local LocalOption
	// smb书库配置
	Smb SMBOption
}

Store 书库设置

type StoreType

type StoreType int
const (
	Local StoreType = 1 + iota
	FTP
	SMB
	SFTP
	WebDAV
	S3
)

Jump to

Keyboard shortcuts

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