utils

package
v0.0.0-...-77d1cf0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MoveToFolder

func MoveToFolder(destinatiorFolder string, file *ReceivedFile)

Types

type IniFile

type IniFile struct {
	FolderToWatch   string
	OnSuccessFolder string
	OnErrorFolder   string
	TimeInMinutes   string
	AuthToken       string
	URLToSendFiles  string
}

func (*IniFile) Load

func (iniFile *IniFile) Load() *IniFile

type ReceivedFile

type ReceivedFile struct {
	Pointer *os.File
	Name    string
	Path    string
}

func (*ReceivedFile) Close

func (file *ReceivedFile) Close()

Jump to

Keyboard shortcuts

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