Documentation
¶
Index ¶
- type CalendarAdapter
- type CalendarEvent
- type Chat
- type DriveAdapter
- func (a *DriveAdapter) Create(ctx context.Context, parentToken, name string, dt doctype.DocType, data []byte) (string, error)
- func (a *DriveAdapter) Delete(ctx context.Context, token string, dt doctype.DocType) error
- func (a *DriveAdapter) ListByType(ctx context.Context, token string, dt doctype.DocType) ([]doctype.Entry, error)
- func (a *DriveAdapter) ListFolder(ctx context.Context, token string) ([]doctype.Entry, error)
- func (a *DriveAdapter) ListRoot(ctx context.Context) ([]doctype.Entry, error)
- func (a *DriveAdapter) Read(ctx context.Context, token string, dt doctype.DocType) ([]byte, error)
- func (a *DriveAdapter) Write(ctx context.Context, token string, dt doctype.DocType, data []byte) error
- type IMAdapter
- func (a *IMAdapter) ListChatContents(_ context.Context, chatID string) ([]doctype.Entry, error)
- func (a *IMAdapter) ListChatFiles(ctx context.Context, chatID string) ([]doctype.Entry, error)
- func (a *IMAdapter) ListChats(ctx context.Context) ([]doctype.Entry, error)
- func (a *IMAdapter) ReadMessages(ctx context.Context, chatID string) ([]byte, error)
- func (a *IMAdapter) SendMessage(ctx context.Context, chatID string, content []byte) error
- type MailAdapter
- func (a *MailAdapter) ListFolders(ctx context.Context) ([]doctype.Entry, error)
- func (a *MailAdapter) ListMessages(ctx context.Context, folder string) ([]doctype.Entry, error)
- func (a *MailAdapter) ReadMessage(ctx context.Context, messageID string) ([]byte, error)
- func (a *MailAdapter) Reply(ctx context.Context, messageID, body string) error
- func (a *MailAdapter) Send(ctx context.Context, to, subject, body string) error
- func (a *MailAdapter) Trash(ctx context.Context, messageID string) error
- type Meeting
- type MeetingAdapter
- func (a *MeetingAdapter) ListDateDirs() []doctype.Entry
- func (a *MeetingAdapter) ListMeetingContents(meetingID string) []doctype.Entry
- func (a *MeetingAdapter) ListMeetings(ctx context.Context, date string) ([]doctype.Entry, error)
- func (a *MeetingAdapter) ReadMeta(ctx context.Context, meetingID string) ([]byte, error)
- func (a *MeetingAdapter) ReadRecording(ctx context.Context, meetingID string) ([]byte, error)
- func (a *MeetingAdapter) ReadSummary(ctx context.Context, meetingID string) ([]byte, error)
- func (a *MeetingAdapter) ReadTranscript(ctx context.Context, meetingID string) ([]byte, error)
- type Task
- type TaskAdapter
- type WikiAdapter
- func (a *WikiAdapter) ListNodes(ctx context.Context, spaceID string) ([]doctype.Entry, error)
- func (a *WikiAdapter) ListSpaces(ctx context.Context) ([]doctype.Entry, error)
- func (a *WikiAdapter) Read(ctx context.Context, nodeToken string) ([]byte, error)
- func (a *WikiAdapter) ResolveNode(ctx context.Context, nodeToken string) (doctype.DocType, string, error)
- func (a *WikiAdapter) Write(ctx context.Context, nodeToken string, data []byte) error
- type WikiSpace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalendarAdapter ¶
type CalendarAdapter struct {
// contains filtered or unexported fields
}
func NewCalendarAdapter ¶
func NewCalendarAdapter(exec *clipkg.Executor, meta *cache.MetadataCache, namer *naming.Resolver) *CalendarAdapter
func (*CalendarAdapter) CreateEvent ¶
func (a *CalendarAdapter) CreateEvent(ctx context.Context, data []byte) error
func (*CalendarAdapter) ListEvents ¶
type CalendarEvent ¶
type DriveAdapter ¶
type DriveAdapter struct {
// contains filtered or unexported fields
}
func NewDriveAdapter ¶
func NewDriveAdapter(exec *clipkg.Executor, registry *doctype.Registry, meta *cache.MetadataCache, namer *naming.Resolver) *DriveAdapter
func (*DriveAdapter) ListByType ¶ added in v0.0.5
func (*DriveAdapter) ListFolder ¶
type IMAdapter ¶
type IMAdapter struct {
// contains filtered or unexported fields
}
func NewIMAdapter ¶
func (*IMAdapter) ListChatContents ¶
func (*IMAdapter) ListChatFiles ¶ added in v0.0.5
func (*IMAdapter) ReadMessages ¶
type MailAdapter ¶
type MailAdapter struct {
// contains filtered or unexported fields
}
func NewMailAdapter ¶
func NewMailAdapter(exec *clipkg.Executor, meta *cache.MetadataCache, namer *naming.Resolver) *MailAdapter
func (*MailAdapter) ListFolders ¶
func (*MailAdapter) ListMessages ¶
func (*MailAdapter) ReadMessage ¶
func (*MailAdapter) Reply ¶
func (a *MailAdapter) Reply(ctx context.Context, messageID, body string) error
type MeetingAdapter ¶
type MeetingAdapter struct {
// contains filtered or unexported fields
}
func NewMeetingAdapter ¶
func NewMeetingAdapter(exec *clipkg.Executor, meta *cache.MetadataCache, namer *naming.Resolver, cacheDir string) *MeetingAdapter
func (*MeetingAdapter) ListDateDirs ¶
func (a *MeetingAdapter) ListDateDirs() []doctype.Entry
func (*MeetingAdapter) ListMeetingContents ¶
func (a *MeetingAdapter) ListMeetingContents(meetingID string) []doctype.Entry
func (*MeetingAdapter) ListMeetings ¶
func (*MeetingAdapter) ReadRecording ¶ added in v0.0.4
func (*MeetingAdapter) ReadSummary ¶
func (*MeetingAdapter) ReadTranscript ¶
type TaskAdapter ¶
type TaskAdapter struct {
// contains filtered or unexported fields
}
func NewTaskAdapter ¶
func NewTaskAdapter(exec *clipkg.Executor, meta *cache.MetadataCache, namer *naming.Resolver) *TaskAdapter
func (*TaskAdapter) CreateTask ¶
func (a *TaskAdapter) CreateTask(ctx context.Context, data []byte) error
type WikiAdapter ¶
type WikiAdapter struct {
// contains filtered or unexported fields
}
func NewWikiAdapter ¶
func NewWikiAdapter(exec *clipkg.Executor, registry *doctype.Registry, meta *cache.MetadataCache, namer *naming.Resolver) *WikiAdapter
func (*WikiAdapter) ListSpaces ¶
func (*WikiAdapter) ResolveNode ¶
Click to show internal directories.
Click to hide internal directories.