retrieval

package
Version: v0.0.0-...-a400e20 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SerializeTo

func SerializeTo(
	ctx context.Context, w io.Writer,
	keys []*pb.TemporaryExposureKey,
	region string,
	startTimestamp, endTimestamp time.Time,
	signer Signer,
) (int, error)

Types

type Authenticator

type Authenticator interface {
	Authenticate(string, string, string) bool
}

func NewAuthenticator

func NewAuthenticator() Authenticator

type Signer

type Signer interface {
	Sign([]byte) ([]byte, error)
}

func NewSigner

func NewSigner() Signer

Jump to

Keyboard shortcuts

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