Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface {
// ListMyOfficeFiles returns all recent Office files of a user.
ListMyOfficeFiles(ctx context.Context, user *userpb.User, filetype OfficeFileType, projects []string) ([]*provider.ResourceInfo, error)
}
Manager defines an interface for a MyOfficeFiles manager.
type OfficeFileType ¶
type OfficeFileType string
const ( TypeWord OfficeFileType = "doc" TypeExcel OfficeFileType = "xls" TypePowerpoint OfficeFileType = "ppt" )
func FileType ¶
func FileType(filetype string) (OfficeFileType, error)
Click to show internal directories.
Click to hide internal directories.