Documentation ¶
Index ¶
- type Controller
- func (c *Controller) AddBlob(uclaim *claim.Session, source, folder, file string, contents []byte) error
- func (c *Controller) AddFolder(uclaim *claim.Session, source, folder string) error
- func (c *Controller) DeleteBlob(uclaim *claim.Session, source, folder, file string) error
- func (c *Controller) GetBlob(uclaim *claim.Session, source, folder, file string) ([]byte, error)
- func (c *Controller) ListFolder(uclaim *claim.Session, source, folder string) ([]*store.BlobInfo, error)
- func (c *Controller) ListRoot(uclaim *claim.Session, source string) ([]string, error)
- func (c *Controller) NewFolderTicket(uclaim *claim.Session, source, folder string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(cabinet store.CabinetHub, signer service.Signer) *Controller
func (*Controller) AddFolder ¶
func (c *Controller) AddFolder(uclaim *claim.Session, source, folder string) error
func (*Controller) DeleteBlob ¶
func (c *Controller) DeleteBlob(uclaim *claim.Session, source, folder, file string) error
func (*Controller) ListFolder ¶
func (*Controller) NewFolderTicket ¶
Click to show internal directories.
Click to hide internal directories.