method

package
v0.0.0-...-ff1eaff Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeURIAcquire     = 600
	FieldURI           = "URI"
	FieldMessage       = "Message"
	FieldTargetRepoURI = "Target-Repo-URI"
	FieldFilename      = "Filename"
	FieldSize          = "Size"
	FieldSHA256Hash    = "SHA256-Hash"
)

Protocol: see https://justi.cz/security/2019/01/22/apt-rce.html See also the output of `apt-get -o Debug::pkgAcquire::Worker=1 update`

View Source
const (
	MediaTypeApplicationXBinary     = "application/x-binary"
	MediaTypeApplicationOctetStream = "application/octet-stream"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Method

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

func New

func New(out io.Writer, in io.Reader) *Method

func (*Method) Status

func (m *Method) Status(uri, s string)

func (*Method) Statusf

func (m *Method) Statusf(uri, fmtspec string, args ...interface{})

Jump to

Keyboard shortcuts

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