adscert

package
v1.200.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const SignHeader = "X-Ads-Cert-Auth"

Variables

This section is empty.

Functions

This section is empty.

Types

type NilSigner

type NilSigner struct {
}

func (*NilSigner) Sign

func (ns *NilSigner) Sign(destinationURL string, body []byte) (string, error)

type Signer

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

Signer represents interface to access request Ads Cert signing functionality

func NewAdCertsSigner

func NewAdCertsSigner(experimentAdCertsConfig config.ExperimentAdsCert) (Signer, error)

type SignerLogger

type SignerLogger struct {
}

func (*SignerLogger) Debugf

func (sl *SignerLogger) Debugf(format string, args ...interface{})

func (*SignerLogger) Errorf

func (sl *SignerLogger) Errorf(format string, args ...interface{})

func (*SignerLogger) Fatalf

func (sl *SignerLogger) Fatalf(format string, args ...interface{})

func (*SignerLogger) Info

func (sl *SignerLogger) Info(format string)

func (*SignerLogger) Infof

func (sl *SignerLogger) Infof(format string, args ...interface{})

func (*SignerLogger) Panicf

func (sl *SignerLogger) Panicf(format string, args ...interface{})

func (*SignerLogger) Warningf

func (sl *SignerLogger) Warningf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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