config

package
v3.41.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 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 an configuration of coordination client

func New

func New(opts ...Option) Config

func (Config) Trace

func (c Config) Trace() trace.Coordination

Trace returns trace over coordination 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.Coordination, opts ...trace.CoordinationComposeOption) Option

WithTrace appends coordination trace to early defined traces

Jump to

Keyboard shortcuts

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