objutil

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalHeaders

func MarshalHeaders(obj *object.Object, to int) ([]byte, error)

MarshalHeaders marshals all object headers which are "higher" than to-th extended header.

Types

type Verifier

type Verifier interface {
	Verify(context.Context, *object.Object) error
}

Verifier is an interface for checking whether an object conforms to a certain criterion. Nil error is equivalent to matching the criterion.

Jump to

Keyboard shortcuts

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