Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CallTrigger process & source Plugin CallTrigger = "trigger" // CallListEntries and other Entry call is needed by mirror Plugin CallListEntries = "listEntries" CallAddEntry = "addEntry" CallUpdateEntry = "updateEntry" CallDeleteEntry = "deleteEntry" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry interface { Name() string IsGroup() bool SubEntries() []Entry OpenReader() (io.ReadCloser, error) }
func NewFileEntry ¶
func NewGroupEntry ¶
type FileEntry ¶
type FileEntry struct {
// contains filtered or unexported fields
}
func (*FileEntry) OpenReader ¶
func (f *FileEntry) OpenReader() (io.ReadCloser, error)
func (*FileEntry) SubEntries ¶
type GroupEntry ¶
type GroupEntry struct {
// contains filtered or unexported fields
}
func (*GroupEntry) DeleteEntries ¶
func (g *GroupEntry) DeleteEntries(entries ...Entry) error
func (*GroupEntry) IsGroup ¶
func (g *GroupEntry) IsGroup() bool
func (*GroupEntry) Name ¶
func (g *GroupEntry) Name() string
func (*GroupEntry) NewEntries ¶
func (g *GroupEntry) NewEntries(entries ...Entry) error
func (*GroupEntry) OpenReader ¶
func (g *GroupEntry) OpenReader() (io.ReadCloser, error)
func (*GroupEntry) SubEntries ¶
func (g *GroupEntry) SubEntries() []Entry
type Request ¶
func NewRequest ¶
func NewRequest() *Request
Click to show internal directories.
Click to hide internal directories.