storage

package
v0.0.0-...-7c51b95 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Default = disk.QiNiuDisk

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	QiNiu *disk.QiNiuConfiguration `json:"qiniu" yaml:"qiniu"`
}

type Provider

type Provider struct {
	kernel.BaseProvider
}

func (Provider) Boot

func (p Provider) Boot()

func (Provider) Name

func (p Provider) Name() string

func (*Provider) Register

func (p *Provider) Register()

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

func New

func New(config *Configuration) *Storage

func (Storage) Disk

func (s Storage) Disk(name string) contract.Storage

func (Storage) RegisterDisk

func (s Storage) RegisterDisk(name string, storage contract.Storage)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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