headers

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestValDefault = "5c1bca85-9e09-4af4-96ac-7f353265838c" // This can be stored and used unencrypted, as anything running in test mode should be safe enough that it doesn't matter who knows it
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CorrelationIdKey() string
	TestKey() string
}

Client interface

func NewClient

func NewClient(ctx context.Context, logClient go_log.Client, serviceName string) Client

NewClient with defaults

Service name should be in canonical case Use an empty string to use default keys

Jump to

Keyboard shortcuts

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