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