method

package
v0.0.0-...-cc9c2ba Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package method implements functions to satisfy the method interface of the APT software package manager. For more information about the APT method interface see, http://www.fifi.org/doc/libapt-pkg-doc/method.html/ch2.html#s2.3.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Method

type Method struct {
	// contains filtered or unexported fields
}

A Method implements the logic to process incoming apt messages and respond accordingly.

func New

func New() *Method

New returns a new Method configured to read from os.Stdin and write to os.Stdout.

func (*Method) Run

func (m *Method) Run()

Run flushes the Method's capabilities and then begins reading messages from os.Stdin. Results are written to os.Stdout. The running Method waits for all Messages to be processed before exiting.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL