inbox

package
v0.6.0-beta Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindInboxInternalGroup

func FindInboxInternalGroup(ctx context.Context, entryMgr dentry.Manager) (*types.Metadata, error)

func InitInboxInternalGroup

func InitInboxInternalGroup(ctx context.Context, entryMgr dentry.Manager) error

Types

type Inbox

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

func New

func New(entry dentry.Manager, workflow workflow.Manager) (*Inbox, error)

func (*Inbox) QuickInbox

func (b *Inbox) QuickInbox(ctx context.Context, fileName string, option Option) (*types.Metadata, error)

type Option

type Option struct {
	Url         string
	FileType    string
	ClutterFree bool
	Data        []byte
}

type UrlFile

type UrlFile struct {
	Url         string
	FileType    string
	ClutterFree bool
}

func (UrlFile) Write

func (f UrlFile) Write(ctx context.Context, file dentry.File) error

Jump to

Keyboard shortcuts

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