irc

package
v0.0.0-...-853159d Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TRANSFER_START       = iota // 0
	TRANSFER_PAUSE              // 1
	TRANSFER_RESUME             // 2
	TRANSFER_CANCEL             // 3
	TRANSFER_FINISH             // 4
	TRANSFER_PROGRESS           // 5
	TRANSFER_ERROR              // 6
	TRANFER_PRECOMPLETED        // 7
	TRANFER_FILE_CLOSED         // 8
)

Events

View Source
const (
	TRANSFER_STATUS_IDLE     = iota // 0
	TRANSFER_STATUS_STARTED         // 1
	TRANSFER_STATUS_PAUSED          // 2
	TRANSFER_STATUS_CANCELED        // 3
	TRANSFER_STATUS_FINISHED        // 4
	TRANSFER_STATUS_ERROR           // 5
)

States

Variables

This section is empty.

Functions

func QueueLoop

func QueueLoop()

func QueuePack

func QueuePack(pack *Pack, monitor *progress.Monitor, attempt uint8)

func ReQueuePack

func ReQueuePack(pack *Pack, monitor *progress.Monitor, attempt uint8)

Types

type Pack

type Pack struct {
	BotNick     string
	FileName    string
	ModFileName string
	Size        int
	ShowName    string
	Season      int
	Episode     int
	PackNumber  int

	// * Not always given
	Crc32   string
	Version int
}

func (Pack) DelOldVersions

func (p Pack) DelOldVersions()

func (Pack) GetFileDir

func (p Pack) GetFileDir() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳