cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DPAuthSharedMTLS = iota
	DPAuthPKIMTLS
)

Variables

This section is empty.

Functions

func ExecuteContext

func ExecuteContext(ctx context.Context)

func Run

func Run(ctx context.Context, config ServerConfig) error

Types

type DPAuthMode

type DPAuthMode int

type ServerConfig

type ServerConfig struct {
	DPAuthMode    DPAuthMode
	DPAuthCert    tls.Certificate
	DPAuthCACerts []*x509.Certificate

	KongCPCert tls.Certificate

	Logger                  *zap.Logger
	Metrics                 config.Metrics
	Database                config.Database
	DisableAnonymousReports bool
}

Jump to

Keyboard shortcuts

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