Beispiel #1
0
// NewExplorer returns a new explorer
func NewExplorer(params *Params) (polochon.Explorer, error) {
	return &Kickass{
		client: kickass.New(),
		Params: params,
	}, nil
}
Beispiel #2
0
// NewTorrenter returns a new kickass torrenter
func NewTorrenter(params *Params) (polochon.Torrenter, error) {
	return &Kickass{
		client: kickass.New(),
		Params: params,
	}, nil
}