material

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrWrongValueSymbol = errors.New("wrong value symbol")
	ErrImbalancedQuotes = errors.New("imbalanced quotes")
	ErrWrongKeySymbol   = errors.New("wrong key symbol")

	SignatureInput = textproto.CanonicalMIMEHeaderKey("Signature-Input")
	Signature      = textproto.CanonicalMIMEHeaderKey("Signature")
)

Functions

This section is empty.

Types

type Material

type Material struct {
	Names   []string
	Created string
	Data    []byte
	// contains filtered or unexported fields
}

func NewMaterial

func NewMaterial() *Material

func (*Material) Append

func (e *Material) Append(k string, v []string) error

func (*Material) Append0

func (e *Material) Append0(k, v string)

func (*Material) AppendHeaders

func (e *Material) AppendHeaders(headers http.Header) error

func (*Material) PrepareWithBodyForSign

func (e *Material) PrepareWithBodyForSign(body []byte)

Jump to

Keyboard shortcuts

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