 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- type Blob
- func (b *Blob) Copy(src, dst string) error
- func (b *Blob) Delete(name string) error
- func (b *Blob) FileStat(name string) (inf storage.FileInfo, err error)
- func (b *Blob) List(prefix, suffix string) ([]storage.FileInfo, error)
- func (b *Blob) Save(name string, data io.Reader, sizeb int) error
- func (b *Blob) SourceReader(name string) (io.ReadCloser, error)
 
- type Conf
- type Credentials
Constants ¶
      View Source
      
  
const (
	BlobURL = "https://%s.blob.core.windows.net/%s"
)
    Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct {
	// contains filtered or unexported fields
}
    func (*Blob) SourceReader ¶
func (b *Blob) SourceReader(name string) (io.ReadCloser, error)
type Conf ¶
type Conf struct {
	Account     string      `bson:"account" json:"account,omitempty" yaml:"account,omitempty"`
	Container   string      `bson:"container" json:"container,omitempty" yaml:"container,omitempty"`
	Prefix      string      `bson:"prefix" json:"prefix,omitempty" yaml:"prefix,omitempty"`
	Credentials Credentials `bson:"credentials" json:"-" yaml:"credentials"`
}
    type Credentials ¶
type Credentials struct {
	Key string `bson:"key" json:"key,omitempty" yaml:"key,omitempty"`
}
     Click to show internal directories. 
   Click to hide internal directories.