adscert

package
v0.275.0 Latest Latest
Warning

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

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

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 added in v0.221.0

type SignerLogger struct {
}

func (*SignerLogger) Debugf added in v0.221.0

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

func (*SignerLogger) Errorf added in v0.221.0

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

func (*SignerLogger) Fatalf added in v0.221.0

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

func (*SignerLogger) Info added in v0.221.0

func (sl *SignerLogger) Info(format string)

func (*SignerLogger) Infof added in v0.221.0

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

func (*SignerLogger) Panicf added in v0.221.0

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

func (*SignerLogger) Warningf added in v0.221.0

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