Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// App is the main hook to run
App = kingpin.New("gonab", "A usenet indexer")
)
Functions ¶
Types ¶
type BinariesCommand ¶
type BinariesCommand struct{}
type GroupCommand ¶
type GroupCommand struct {
Groups []string
}
type GroupScanner ¶
type GroupScanner struct {
// contains filtered or unexported fields
}
GroupScanner is designed to be run in a goroutine and take requests for groups to scan.
func NewGroupScanner ¶
NewGroupScanner returns a new GroupScanner
func (*GroupScanner) ScanLoop ¶
func (g *GroupScanner) ScanLoop(scanRequests chan *scanRequest, wg *sync.WaitGroup)
ScanLoop takes requests for groups to scan, scans them and returns the result.
type ReleasesCommand ¶
type ReleasesCommand struct { Limit int ReleaseID int64 FilePath string DirPath string Categories []int64 SearchTerm string }
ReleasesCommand should probably be split up for the sub commands.
type ScanCommand ¶
ScanCommand comment
type ServerCommand ¶
type ServerCommand struct{}
Click to show internal directories.
Click to hide internal directories.