Documentation ¶
Index ¶
Constants ¶
View Source
const ( OutputTypeJSON = "json" OutputTypeText = "text" )
View Source
const (
FilenameTmplName = "fnt"
)
Variables ¶
View Source
var (
ErrInvalidInput = errors.New("no valid input")
)
View Source
var ErrNothingToDo = errors.New("no valid input and no list flags specified")
View Source
var ErrSkip = errors.New("skip")
ErrSkip is should be returned if the [Producer] should skip the channel.
Functions ¶
This section is empty.
Types ¶
type EmojiParams ¶
type Input ¶
type Input struct {
List *structures.EntityList // Include channels
}
func (Input) Producer ¶
func (in Input) Producer(fn func(*structures.EntityItem) error) error
Producer iterates over the list or reads the list from the file and calls fn for each entry.
type ListFlags ¶
func (ListFlags) FlagsPresent ¶
type Output ¶
type Output struct { Filename string Format string // output format Base string // base directory or zip file }
func (Output) FormatValid ¶
type Params ¶
type Params struct { ListFlags ListFlags Input Input // parameters of the input Output Output // " " output Oldest TimeValue // oldest time to dump conversations from Latest TimeValue // latest time to dump conversations to FilenameTemplate string ExportName string // export file or directory name. ExportType export.ExportType // export type, see enum for available options. ExportToken string // token that will be added to all exported files. Emoji EmojiParams Options slackdump.Options }
Params is the application config parameters.
Click to show internal directories.
Click to hide internal directories.