Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FastDFSStorage ¶
type FastDFSStorage struct {
// contains filtered or unexported fields
}
func NewFastDFS ¶
func NewFastDFS(opts ...FastDFSStorageOption) (*FastDFSStorage, error)
func (*FastDFSStorage) Close ¶
func (f *FastDFSStorage) Close()
type FastDFSStorageOption ¶
type FastDFSStorageOption func(*FastDFSStorage)
func WithFastDFSMaxConn ¶
func WithFastDFSMaxConn(max int) FastDFSStorageOption
func WithFastDFSTrackerPath ¶
func WithFastDFSTrackerPath(trackers ...string) FastDFSStorageOption
type LocalStorage ¶
type LocalStorage struct {
// contains filtered or unexported fields
}
func (*LocalStorage) Close ¶
func (l *LocalStorage) Close()
type LocalStorageOption ¶
type LocalStorageOption func(*LocalStorage)
func WithLocalPathPrefix ¶
func WithLocalPathPrefix(prefix string) LocalStorageOption
Click to show internal directories.
Click to hide internal directories.