config

package
v3.29.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	config.Common
	// contains filtered or unexported fields
}

Config is a configuration of scheme client

nolint: maligned

func New

func New(opts ...Option) Config

func (Config) Trace

func (c Config) Trace() trace.Scheme

Trace returns trace over scheme client calls

type Option

type Option func(c *Config)

func With

func With(config config.Common) Option

With applies common configuration params

func WithTrace

func WithTrace(trace trace.Scheme, opts ...trace.SchemeComposeOption) Option

WithTrace appends scheme trace to early defined traces

Jump to

Keyboard shortcuts

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