ceftrace

package
v1.41.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CefTrace

type CefTrace struct{}

func NewCefTrace

func NewCefTrace() *CefTrace

func (CefTrace) Handler

func (CefTrace) Handler(proxyRoute gobis.ProxyRoute, params interface{}, next http.Handler) (http.Handler, error)

func (CefTrace) Schema

func (CefTrace) Schema() interface{}

type CefTraceConfig

type CefTraceConfig struct {
	CefTrace *CefTraceOptions `mapstructure:"cef_trace" json:"cef_trace" yaml:"cef_trace"`
}

type CefTraceOptions

type CefTraceOptions struct {
	// enable request and response capture
	Enabled bool `mapstructure:"enabled" json:"enabled" yaml:"enabled"`
	// (Required) Device vendor
	DeviceVendor string `mapstructure:"device_vendor" json:"device_vendor" yaml:"device_vendor"`
	// (Required) Device product
	DeviceProduct string `mapstructure:"device_product" json:"device_product" yaml:"device_product"`
	// (Required) Device version
	DeviceVersion string `mapstructure:"device_version" json:"device_version" yaml:"device_version"`
	// (Optional) Key Signature ID
	KeySignatureID string `mapstructure:"key_signature_id" json:"key_signature_id" yaml:"key_signature_id"`
	// Set to true to write in stderr instead of stdout
	InStderr bool `mapstructure:"in_stderr" json:"in_stderr" yaml:"in_stderr"`
}

Jump to

Keyboard shortcuts

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