filequeue

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package filequeue ...

Copyright © 2024 sugy <sugy.kz@gmail.com>

Package filequeue ...

Package filequeue ...

Copyright © 2024 sugy <sugy.kz@gmail.com>

Package filequeue ...

Copyright © 2024 sugy <sugy.kz@gmail.com>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandExecutor added in v0.0.14

type CommandExecutor interface {
	Command(name string, arg ...string) *exec.Cmd
}

CommandExecutor is an interface that wraps the exec.Command function.

type FileQueue

type FileQueue struct {
	Dir maildir.Dir
}

FileQueue struct is...

func NewFileQueue

func NewFileQueue(d string) (*FileQueue, error)

NewFileQueue is...

func (*FileQueue) Dequeue

func (f *FileQueue) Dequeue() error

Dequeue is...

func (*FileQueue) Enqueue

func (f *FileQueue) Enqueue(k string, m string) error

Enqueue is...

func (*FileQueue) Purge added in v0.0.12

func (f *FileQueue) Purge() error

Purge is...

Directories

Path Synopsis
Package mock_filequeue is a generated GoMock package.
Package mock_filequeue is a generated GoMock package.

Jump to

Keyboard shortcuts

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