config

package
v1.64.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Unlicense Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host      string          `yaml:"host" json:"host" toml:"host"`
	Security  security.Config `yaml:"security" json:"security" toml:"security"`
	Timeout   time.Duration   `yaml:"timeout" json:"timeout" toml:"timeout"`
	Retry     retry.Config    `yaml:"retry" json:"retry" toml:"retry"`
	UserAgent string          `yaml:"user_agent" json:"user_agent" toml:"user_agent"`
	Access    string          `yaml:"access" json:"access" toml:"access"`
}

Config for client.

func (*Config) GetAccess added in v1.55.1

func (c *Config) GetAccess() string

GetAccess for client.

Jump to

Keyboard shortcuts

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