func NewAptMethod()

in apt/method.go [39:46]


func NewAptMethod(input *bufio.Reader, output io.Writer) *Method {
	return &Method{
		config: &aptMethodConfig{},
		writer: NewAptMessageWriter(output),
		reader: NewAptMessageReader(input),
		dl:     downloaderImpl{},
	}
}