searchdump

package
v0.0.0-...-ee216f3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	From     source.Sourcer
	FromType FromType

	To     dest.Dester
	ToType ToType
	// contains filtered or unexported fields
}

func New

func New() Client

func (*Client) SetFrom

func (c *Client) SetFrom(fromType string, from string, fromParams interface{}) error

func (*Client) SetLogger

func (c *Client) SetLogger(logger *logrus.Logger)

func (*Client) SetTo

func (c *Client) SetTo(toType string, params interface{}) error

func (*Client) Start

func (c *Client) Start() error

type FromType

type FromType string
const (
	FromSearch FromType = "search"
	FromNone   FromType = "none"
)

type ToType

type ToType string
const (
	ToS3   ToType = "s3"
	ToNone ToType = "none"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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